This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/61085] New: [4.9/4.10 Regression] wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization)
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 May 2014 19:48:13 +0000
- Subject: [Bug ipa/61085] New: [4.9/4.10 Regression] wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61085
Bug ID: 61085
Summary: [4.9/4.10 Regression] wrong code with -O2
-fno-early-inlining (maybe wrong devirtualization)
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 32748
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32748&action=edit
reduced testcase
Output:
$ g++ -O2 -fno-early-inlining testcase.C
$ ./a.out
Aborted
$ g++ -O2 -fno-early-inlining testcase.C -fno-devirtualize
$ ./a.out
(no output)
Tested revisions:
r210047 - fail
4.9 r209651 - fail
4.8 r209342 - OK
4.7 r209345 - OK