http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51719

             Bug #: 51719
           Summary: [4.7 Regression] ICE: verify_gimple failed: LHS in
                    noreturn call with -fpartial-inlining -fprofile-use
                    and exceptions
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 26206
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26206
reduced testcase

Compiler output:
$ rm *.gcda
$ g++ testcase.C -O -fpartial-inlining -fprofile-generate
$ ./a.out
$ g++ testcase.C -O -fpartial-inlining -fprofile-use     
testcase.C: In function 'int foo(int (*)())':
testcase.C:23:1: error: LHS in noreturn call
# VUSE <.MEM_8(D)>
D.2203_15 = bar ();

testcase.C:23:1: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r182733 - crash
r180540 - crash
r178498 - OK
4.6 r180325 - OK

Reply via email to