This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
- From: "konstantin.vladimirov at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Oct 2012 13:05:30 +0000
- Subject: [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138
Bug #: 55138
Summary: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: konstantin.vladimirov@gmail.com
Created attachment 28575
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28575
reproduction
found on private target, but can be easily reproduced on x86, so I think every
target is affected.
Compile attached file on gcc-4.7.2 with -O2 -DBROKEN to make function inlined.
Next run. You will see error. Compile just with -O2, next run and you will see
no error.
This error can not be reproduced on gcc-4.6.3, everything works fine. Problems
starts with 4.7