c-parser.c
227 KB
-
re PR c++/34607 (ICE with invalid for loop after #pragma omp for) · 61c3a446
PR c++/34607 * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for if DECL_INITIAL (decl) is error_mark_node. * semantics.c (finish_omp_for): Don't call c_finish_omp_for if decl or init is error_mark_node. * gcc.dg/gomp/pr34607.c: New test. * g++.dg/gomp/pr34607.C: New test. From-SVN: r131730
Jakub Jelinek committed