http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47228
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|i686-pc-linux-gnu |i?86-pc-linux-gnu Status|UNCONFIRMED |NEW Keywords| |wrong-code Last reconfirmed| |2011.01.26 00:09:23 Component|c |tree-optimization Host|i686-pc-linux-gnu | Ever Confirmed|0 |1 Summary|likely improper segfault in |[4.6 Regression] wrong code |generated code |with loop Target Milestone|--- |4.6.0 Build|i686-pc-linux-gnu | --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-26 00:09:23 UTC --- Confirmed, fails also with -O2 -fno-inline (or marking func_2 as noinline/noclone). This is rather weird, the correct code (at the tree level even) is produced with -m64.