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

           Summary: ICE: verify_flow_info failed: BB 3 can not throw but
                    has an EH edge with -O -fexceptions
                    -fnon-call-exceptions -ftrapv
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz
                CC: ste...@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 22860
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22860
reduced testcase (from gcc.c-torture/execute/pr43220.c)

Compiler output:
$ gcc -O -fexceptions -fnon-call-exceptions -ftrapv pr47086.c 
pr47086.c: In function 'foo':
pr47086.c:2:1: error: BB 3 can not throw but has an EH edge
pr47086.c:2:1: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r168296 - crash

I don't know if this is a regression or not.

Reply via email to