public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
@ 2012-10-30 13:05 konstantin.vladimirov at gmail dot com
2012-10-30 14:27 ` [Bug tree-optimization/55138] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: konstantin.vladimirov at gmail dot com @ 2012-10-30 13:05 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/55138] [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
2012-10-30 13:05 [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2 konstantin.vladimirov at gmail dot com
@ 2012-10-30 14:27 ` rguenth at gcc dot gnu.org
2012-10-30 14:48 ` mikpe at it dot uu.se
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-30 14:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-30
Known to work| |4.6.3, 4.8.0
Target Milestone|--- |4.7.3
Ever Confirmed|0 |1
Known to fail| |4.7.2
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-30 14:27:04 UTC ---
Confirmed. Seems to be fixed on trunk.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/55138] [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
2012-10-30 13:05 [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2 konstantin.vladimirov at gmail dot com
2012-10-30 14:27 ` [Bug tree-optimization/55138] " rguenth at gcc dot gnu.org
@ 2012-10-30 14:48 ` mikpe at it dot uu.se
2012-10-30 15:11 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2012-10-30 14:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138
--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-30 14:47:41 UTC ---
Created attachment 28577
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28577
reduced test case in C
C++ not needed, fails also in C, works with gcc-4.6.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/55138] [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
2012-10-30 13:05 [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2 konstantin.vladimirov at gmail dot com
2012-10-30 14:27 ` [Bug tree-optimization/55138] " rguenth at gcc dot gnu.org
2012-10-30 14:48 ` mikpe at it dot uu.se
@ 2012-10-30 15:11 ` rguenth at gcc dot gnu.org
2012-10-30 21:57 ` mikpe at it dot uu.se
2012-10-31 4:12 ` law at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-30 15:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at gcc dot gnu.org
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-30 15:11:28 UTC ---
Looks like a dup of PR54985 to me.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/55138] [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
2012-10-30 13:05 [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2 konstantin.vladimirov at gmail dot com
` (2 preceding siblings ...)
2012-10-30 15:11 ` rguenth at gcc dot gnu.org
@ 2012-10-30 21:57 ` mikpe at it dot uu.se
2012-10-31 4:12 ` law at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2012-10-30 21:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu.se
--- Comment #4 from Mikael Pettersson <mikpe at it dot uu.se> 2012-10-30 21:57:13 UTC ---
Backporting the PR54985 fixes (r192745, r192746, r192754, and r192852) to 4.7
does fix this PR's reduced test case.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/55138] [4.7 Regression] inlining fails with -O2 on gcc 4.7.2
2012-10-30 13:05 [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2 konstantin.vladimirov at gmail dot com
` (3 preceding siblings ...)
2012-10-30 21:57 ` mikpe at it dot uu.se
@ 2012-10-31 4:12 ` law at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: law at redhat dot com @ 2012-10-31 4:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55138
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |law at redhat dot com
Resolution| |DUPLICATE
--- Comment #5 from Jeffrey A. Law <law at redhat dot com> 2012-10-31 04:11:38 UTC ---
Same root cause as 54985.
*** This bug has been marked as a duplicate of bug 54985 ***
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-10-31 4:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 13:05 [Bug tree-optimization/55138] New: [4.7 Regression] inlining fails with -O2 on gcc 4.7.2 konstantin.vladimirov at gmail dot com
2012-10-30 14:27 ` [Bug tree-optimization/55138] " rguenth at gcc dot gnu.org
2012-10-30 14:48 ` mikpe at it dot uu.se
2012-10-30 15:11 ` rguenth at gcc dot gnu.org
2012-10-30 21:57 ` mikpe at it dot uu.se
2012-10-31 4:12 ` law at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).