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 lto/55848] [4.8 Regression] internal compiler error: verify_cgraph_node failed (with `-flto' and `-fopenmp')


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-02 15:18:47 UTC ---
Reduced C testcase:

extern int omp_get_thread_num (void);

void __attribute ((noinline)) f()
{
  omp_get_thread_num();
}

int main()
{
  int i;
#pragma omp parallel for
  for (i = 0; i < 0; i += 1)
    f();
  return 0;
}


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