[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-13 Thread arnaud.pat...@rtp-net.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #9 from arnaud patard 2011-03-13 20:40:27 UTC --- I confirm that backporting r159644 and r159683 make things work. From comment 8, I guess that the bug is still there and that one can still hit it sooner or later, right ? (btw, amazi

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-13 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Mikael Pettersson changed: What|Removed |Added CC||kazu at gcc dot gnu.org --- Comment #

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-13 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Mikael Pettersson changed: What|Removed |Added CC||rearnsha at gcc dot gnu.org --- Comme

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-12 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #6 from Mikael Pettersson 2011-03-12 21:19:40 UTC --- The test case was fixed for 4.6 by r159644. However, that patch was described as a minor improvement to double-word regis

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-12 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #5 from Mikael Pettersson 2011-03-12 17:38:12 UTC --- Created attachment 23637 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23637 standalone test case Reduced standalone test case. Fails with gcc-4.5-20110310 -march=armv5t, w

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-12 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #4 from Mikael Pettersson 2011-03-12 15:42:13 UTC --- I have a runtime test case (given test file + separate file with main and missing support functions) that works with gcc-4.5-20110310 -march=armv5te but fails with -march=armv5t.

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-12 Thread arnaud.pat...@rtp-net.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #3 from arnaud patard 2011-03-12 12:16:12 UTC --- (In reply to comment #2) > I get correct-looking code on armv5tel-linux with vanilla gcc-4.6-20110305 and > gcc-4.5-20110310, with 4.4 the code looks different but not obviously broken

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-12 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #2

[Bug c/48090] gcc 4.5.2 miscompilation when building on arm

2011-03-12 Thread arnaud.pat...@rtp-net.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #1 from arnaud patard 2011-03-12 09:02:30 UTC --- Created attachment 23636 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23636 test file