extern void bar (int);

void
foo (int n)
{
  int i;
#pragma omp parallel for schedule(dynamic)
  for (i = 0; i < n; i++)
    bar (0);
}

ICEs on ia64-linux with -xc -O2 -fopenmp -fexceptions, as
eh_personality_libfunc
isn't set, yet foo.omp_fn.0 has cfun->uses_eh_lsda.


-- 
           Summary: ICE with -fopenmp -fexceptions
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: ia64-*-linux


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

Reply via email to