http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58551
Bug ID: 58551
Summary: [4.9 Regression] ICE with abort in OpenMP SESE region
inside of some loop
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
/* { dg-do compile } */
/* { dg-options "-O0 -fopenmp" } */
void
foo (int *a)
{
int i;
for (i = 0; i < 8; i++)
#pragma omp task
if (a[i])
__builtin_abort ();
}
ICEs in 4.9, because __builtin_abort () bb after outlining the SESE region has
bogus loop_father.