This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/61085] New: [4.9/4.10 Regression] wrong code with -O2 -fno-early-inlining (maybe wrong devirtualization)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]