pr41967.C
291 Bytes
-
re PR c++/41967 (gcc get into endless loop when compiling an openmp program) · 2e313572
PR c++/41967 * parser.c (cp_parser_omp_for_loop): After diagnosing not perfectly nested loop and parsing statements, don't cp_parser_require }, instead exit the loop if next token is CPP_EOF. * g++.dg/gomp/pr41967.C: New test. From-SVN: r153972
Jakub Jelinek committed