[Bug target/56561] Miscompilation with -Os -arm

2013-03-10 Thread mh+gcc at glandium dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56561



Mike Hommey mh+gcc at glandium dot org changed:



   What|Removed |Added



 Status|UNCONFIRMED |RESOLVED

 Resolution||DUPLICATE



--- Comment #5 from Mike Hommey mh+gcc at glandium dot org 2013-03-10 
09:20:05 UTC ---

Thanks for tracking it down.



*** This bug has been marked as a duplicate of bug 48308 ***


[Bug target/56561] Miscompilation with -Os -arm

2013-03-08 Thread mikpe at it dot uu.se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56561



--- Comment #4 from Mikael Pettersson mikpe at it dot uu.se 2013-03-08 
08:23:31 UTC ---

Created attachment 29613

  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29613

backport of r183512/PR48308 to 4.6 branch



This is the backport I've been using since early June 2012.  The original patch

required adjustments related to how LOG_LINKS are stored.  Tested extensively

on x86_64, sparc64, powerpc64, armv5te, and m68k.


[Bug target/56561] Miscompilation with -Os -arm

2013-03-07 Thread mikpe at it dot uu.se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56561



Mikael Pettersson mikpe at it dot uu.se changed:



   What|Removed |Added



 CC||mikpe at it dot uu.se



--- Comment #1 from Mikael Pettersson mikpe at it dot uu.se 2013-03-07 
13:37:51 UTC ---

I can reproduce the runtime failure on armv5tel-linux-gnueabi with vanilla

gcc-4.6.3.  Trunk works, as does my heavily patched 4.6-based system compiler.

I'll investigate some more later today.


[Bug target/56561] Miscompilation with -Os -arm

2013-03-07 Thread mikpe at it dot uu.se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56561



--- Comment #2 from Mikael Pettersson mikpe at it dot uu.se 2013-03-07 
18:14:17 UTC ---

The wrong-code on 4.6 branch is stopped by backporting r183512 aka PR48308 fix.