On Thu, Jul 16, 2015 at 07:57:56AM -0700, Aldy Hernandez wrote:
> @@ -13828,6 +13828,14 @@ tsubst_omp_for_iterator (tree t, int i, tree declv,
> tree initv,
>
> init = TREE_VEC_ELT (OMP_FOR_INIT (t), i);
> gcc_assert (TREE_CODE (init) == MODIFY_EXPR);
> +
> + if (orig_declv && OMP_FOR_ORIG_DECLS (t))
> + {
> + tree o = TREE_VEC_ELT (OMP_FOR_ORIG_DECLS (t), i);
> + o = RECUR (o);
> + TREE_VEC_ELT (orig_declv, i) = o;
Please fold the above two lines into:
TREE_VEC_ELT (orig_declv, i) = RECUR (o);
No need to retest.
Ok with that change, thanks.
Jakub