[Bug c++/31759] New: [4.3 regression] ICE with OpenMP and exceptions

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 29 15:19:00 GMT 2007


The following testcase (similar to PR26913) triggers an ICE on mainline:

=============================
struct A
{
    ~A() throw();
};

void foo(A);

void bar()
{
#pragma omp parallel
    {
        A a;
        foo(a);
    }
}
=============================

bug.cc: In function 'void _Z3barv.omp_fn.0(void*)':
bug.cc:10: error: unnecessary EH edge 5->6
bug.cc:10: internal compiler error: verify_flow_info failed
Please submit a full bug report, [etc.]

It's a recent regression since the code compiled without problems last week.


-- 
           Summary: [4.3 regression] ICE with OpenMP and exceptions
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored, openmp
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list