re PR c++/35078 (ICE with reference in parallel for loop)
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
Showing
gcc/testsuite/g++.dg/gomp/pr35078.C
0 → 100644
Please
register
or
sign in
to comment