[Bug c++/27359] New: ICE with missing initialization of iteration variable in parallel for loop
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Apr 29 20:34:00 GMT 2006
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
More information about the Gcc-bugs
mailing list