[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug ipa/61190] [4.8/4.9/4.10 Regression] g++.old-deja/g++.mike/p4736b.C FAILs at -O2/-Os/-O3
From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2014-05-30 20:57:41
Message-ID: bug-61190-4-x0sMmkflnr () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61190
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernd.edlinger at hotmail dot de
--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 32879
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32879&action=edit
slightly reduced test case
Acutally also -O1 produces wrong code, and happens to not crash by chance.
Only -O0 and -Og produce correct code.
The constructor Main::Main() first inlined and then completely optimized
away in the dce1 pass.
But even with -fno-tree-dce the constructor seems to be removed in the rtl
passes.
However when I use -fno-ipa-pure-const the sample works at all optimization
levels.
So should we blame "ipa-pure-const"?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic