[Bug tree-optimization/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 09:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
4.6 seems to optimize it away too, 4.4 does not. Anyway, strictly speaking the
code is invalid, the standard does not allow conversions between data and
function pointers I believe. I'd say the asm barrier in the code would be
best.
More information about the Gcc-bugs
mailing list