------- Comment #1 from jakub at gcc dot gnu dot org  2007-10-24 13:23 -------
/* PR middle-end/33880 */
/* { dg-do compile } */
/* { dg-options "-O2 -fopenmp" } */

int
foo (void)
{
  int i = 0;
  void bar (void) { i++; }
  bar ();
  #pragma omp parallel for
    for (i = 0; i < 10; i++)
      ;
  i = 3;
  bar ();
  return i;
}

ICEs the same way.


-- 


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

Reply via email to