This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/33880] ICE: in extract_omp_for_data, at omp-low.c:162



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]