The following valid code snippet causes an ICE when compiled with -fopenmp:

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

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

bug.cc: In function 'void _Z3foov.omp_fn.0(void*)':
bug.cc:8: internal compiler error: vector VEC(eh_region,base) index domain
error, in can_throw_internal_1 at except.c:2581
Please submit a full bug report, [etc.]


-- 
           Summary: [gomp] ICE in can_throw_internal_1 at except.c:2581
           Product: gcc
           Version: unknown
            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=26076

Reply via email to