[Bug middle-end/50569] Wrong code error: memcpy eliminated when it is needed

2011-11-04 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 Mikael Pettersson changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Commen

[Bug middle-end/50569] Wrong code error: memcpy eliminated when it is needed

2011-11-04 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 --- Comment #7 from Mikael Pettersson 2011-11-04 15:31:25 UTC --- Created attachment 25716 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25716 reduced test case This reduced test case causes an alignment fault when compiled with gcc 4.7 or

[Bug middle-end/50569] Wrong code error: memcpy eliminated when it is needed

2011-10-01 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 --- Comment #6 from Mikael Pettersson 2011-10-01 10:29:07 UTC --- This test case fails with a SIGBUS on sparc64-linux when compiled with -O1 -m32 by gcc 4.6-20110923 or 4.7-20110910. gcc 4.5 and 4.4 generate correct code.

[Bug middle-end/50569] Wrong code error: memcpy eliminated when it is needed

2011-09-29 Thread pkoning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 --- Comment #5 from Paul Koning 2011-09-29 20:55:15 UTC --- If the memcpy actually happens, that is the expected result. The issue in the MIPS case is that the memcpy is optimized away, and the source data accessed instead, which would be ok if

[Bug middle-end/50569] Wrong code error: memcpy eliminated when it is needed

2011-09-29 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 --- Comment #4 from Mikael Pettersson 2011-09-29 20:47:09 UTC --- The updated test case caused no alignment exceptions on armv5tel-linux-gnueabi with gcc 4.6-20110923 or 4.7-20110924. I'll check it on sparc64-linux tomorrow evening.

[Bug middle-end/50569] Wrong code error: memcpy eliminated when it is needed

2011-09-29 Thread pkoning at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 --- Comment #3 from Paul Koning 2011-09-29 19:52:47 UTC --- Created attachment 25383 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25383 Test case with main() Here is an updated testcase. This one runs to completion with 4.5.1, aborts wit

[Bug middle-end/50569] Wrong code error: memcpy eliminated when it is needed

2011-09-29 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #2 from Andrew Pin