https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68403
--- Comment #4 from vries at gcc dot gnu.org ---
Fails here in gimplify_omp_for (in last assert):
...
/* Handle OMP_FOR_COND. */
t = TREE_VEC_ELT (OMP_FOR_COND (for_stmt), i);
gcc_assert (COMPARISON_CLASS_P (t));
gcc_assert (TREE_OPERAND (t, 0) == decl);
...
The expression being gimplified:
...
(gdb) call debug_generic_expr (*expr_p)
#pragma acc loop worker
for (jx = 0; size / 64 > jx; jx++ )
{
{
int ix;
#pragma acc loop auto
{
int ix;
for (ix = 0; ix <= 63; ix++ )
{
<<cleanup_point <<< Unknown tree: expr_stmt
(void) (*(ary + (sizetype) ((long unsigned int) (jx * 64 + ix) * 4)) = place
()) >>>>>
}
}
}
}
...
The t being checked by the assert:
...
(gdb) call debug_generic_expr (t)
size / 64 > jx
...