The following invalid testcase crashes the C++ frontend when compiled with -fopenmp:
========================== void foo() { #pragma omp parallel for for (int i; i<1; ++i) ; } ========================== bug.cc: In function 'void foo()': bug.cc:4: internal compiler error: vector VEC(cp_token_position,base) pop domain error, in cp_lexer_commit_tokens at cp/parser.c:656 Please submit a full bug report, [etc.] -- Summary: ICE with missing initialization of iteration variable in parallel for loop Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored, openmp Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27359