re PR c++/60146 (ICE when compiling this code with -fopenmp)
authorJason Merrill <jason@redhat.com>
Mon, 24 Feb 2014 22:17:43 +0000 (17:17 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 24 Feb 2014 22:17:43 +0000 (17:17 -0500)
commit2105f1a796d2fa126313b6568b573af6e330ce80
tree27f413ac47c693fc1d6fd0c7415c9ec933552c2c
parent016895178d73bf9e4b0dea6ed253adea4f9af4f9
re PR c++/60146 (ICE when compiling this code with -fopenmp)

PR c++/60146
* pt.c (tsubst_omp_for_iterator): Don't let substitution of the
DECL_EXPR initialize a non-class iterator.

From-SVN: r208094
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/gomp/for-20.C [new file with mode: 0644]