http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sat Mar 1 18:43:24 2014 New Revision: 208244 URL: http://gcc.gnu.org/viewcvs?rev=208244&root=gcc&view=rev Log: PR c++/60146 * pt.c (tsubst_omp_for_iterator): Don't let substitution of the DECL_EXPR initialize a non-class iterator. Conflicts: gcc/cp/pt.c Added: branches/gcc-4_8-branch/gcc/testsuite/g++.dg/gomp/for-20.C Modified: branches/gcc-4_8-branch/gcc/cp/ChangeLog branches/gcc-4_8-branch/gcc/cp/pt.c