[Bug target/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile

2015-03-17 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile

2015-02-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #8

[Bug target/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile

2015-01-23 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703 --- Comment #7 from Alan Modra --- Created attachment 34539 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34539&action=edit prototype patch How does this look as a potential fix? Obviously I'd need to provide the new targetm field and ar

[Bug target/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile

2015-01-21 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703 --- Comment #6 from Alan Modra --- Re comment #2, yes I agree that conversion between void* or pointer to object and pointer to function is not strictly allowed. Fixing that by way of a union was one of the first things I tried, before looking a

[Bug target/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile

2015-01-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703 --- Comment #5 from Andreas Schwab --- A conversion between an integer type and a pointer type is implementation-defined, not undefined.

[Bug target/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile

2015-01-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703 --- Comment #4 from Jakub Jelinek --- (In reply to Richard Biener from comment #3) > The tree level gets this right and on x86_64 RTL expansion looks ok as well. > Can it be that PPC relies on REG_POINTER stuff and maybe the function > pointer is

[Bug target/64703] glibc sysdeps/powerpc/powerpc64/dl-machine.h miscompile

2015-01-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64703 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|