]> git.eshelyaron.com Git - emacs.git/commit
Defend fingerprint against even-smarter LTO
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Jul 2019 20:55:16 +0000 (13:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Jul 2019 20:56:45 +0000 (13:56 -0700)
commit4c619758b2806ee6607af7b1d56943e547001e7a
treeda5982393d65f56ceca6ce383c0a4b869beec716
parent63977168717166919f79bfa6938cf32705a0599e
Defend fingerprint against even-smarter LTO

* src/pdumper.c (Fdump_emacs_portable, pdumper_load):
Don’t cast volatile to non-volatile pointer, as that does not in
general suffice to prevent a compiler from optimizing away memcmp
and/or memcpy calls.  Instead, copy the fingerprint by hand.
src/pdumper.c