pr35078.C
361 Bytes
-
re PR c++/35078 (ICE with reference in parallel for loop) · dadb19e0
PR c++/35078 * parser.c (cp_parser_omp_for_loop): If DECL has REFERENCE_TYPE, don't call cp_finish_decl. * semantics.c (finish_omp_for): Fail if DECL doesn't have integral type early. * g++.dg/gomp/pr35078.C: New test. From-SVN: r132424
Jakub Jelinek committed