This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Jan 2015 09:03:06 +0000
- Subject: [Bug tree-optimization/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile
- Auto-submitted: auto-generated
- References: <bug-64703-4 at http dot gcc dot gnu dot org/bugzilla/>
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.