http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
--- Comment #5 from Jason Merrill ---
Author: jason
Date: Mon Feb 24 22:17:43 2014
New Revision: 208094
URL: http://gcc.gnu.org/viewcvs?rev=208094&root=gcc&view=rev
Log:
PR c++/60146
* pt.c (tsubst_omp_for_iterator): Don't let substitutio
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
--- Comment #4 from Jakub Jelinek ---
I've tried:
--- pt.c.jj32014-02-12 17:46:47.0 +0100
+++ pt.c2014-02-17 19:22:36.617413387 +0100
@@ -13057,10 +13057,28 @@ tsubst_omp_for_iterator (tree t, int i,
init = TREE_OPERAND (init, 1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
--- Comment #3 from Jakub Jelinek ---
decl in this case in tsubst_omp_for_iterator is i, and init is DECL_EXPR i, i
has DECL_INITIAL set to the function call. RECUR on both of these will tsubst
the initializer before the loop, rather than in the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
Volker Reichelt changed:
What|Removed |Added
Target Milestone|4.8.4 |4.8.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
Volker Reichelt changed:
What|Removed |Added
Target Milestone|--- |4.8.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146
Volker Reichelt changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Known to work|