This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47228] [4.6 Regression] wrong code with loop
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 00:09:28 +0000
- Subject: [Bug tree-optimization/47228] [4.6 Regression] wrong code with loop
- Auto-submitted: auto-generated
- References: <bug-47228-4@http.gcc.gnu.org/bugzilla/>
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.