re PR c++/67522 (OpenMP ICE in type_dependent_expression_p)
PR c++/67522 * semantics.c (handle_omp_array_sections_1): Only run type_dependent_expression_p on VAR_DECL/PARM_DECLs. (finish_omp_clauses) <case OMP_CLAUSE_LINEAR>: Likewise. Don't adjust OMP_CLAUSE_LINEAR_STEP if OMP_CLAUSE_DECL is not a VAR_DECL/PARM_DECL. * g++.dg/gomp/pr67522.C: New test. From-SVN: r227610
Showing
gcc/testsuite/g++.dg/gomp/pr67522.C
0 → 100644
Please
register
or
sign in
to comment