Commit 0c0cba54 by Jason Merrill Committed by Jason Merrill

call.c (extend_ref_init_temps_1): Recompute TREE_CONSTANT for the ADDR_EXPR.

	* call.c (extend_ref_init_temps_1): Recompute TREE_CONSTANT for
	the ADDR_EXPR.

From-SVN: r193726
parent 03d670c8
2012-11-22 Jason Merrill <jason@redhat.com>
* call.c (extend_ref_init_temps_1): Recompute TREE_CONSTANT for
the ADDR_EXPR.
2012-11-20 Diego Novillo <dnovillo@google.com> 2012-11-20 Diego Novillo <dnovillo@google.com>
Jakub Jelinek <jakub@redhat.com> Jakub Jelinek <jakub@redhat.com>
......
...@@ -9188,6 +9188,7 @@ extend_ref_init_temps_1 (tree decl, tree init, vec<tree, va_gc> **cleanups) ...@@ -9188,6 +9188,7 @@ extend_ref_init_temps_1 (tree decl, tree init, vec<tree, va_gc> **cleanups)
*p = set_up_extended_ref_temp (decl, *p, cleanups, &subinit); *p = set_up_extended_ref_temp (decl, *p, cleanups, &subinit);
if (subinit) if (subinit)
init = build2 (COMPOUND_EXPR, TREE_TYPE (init), subinit, init); init = build2 (COMPOUND_EXPR, TREE_TYPE (init), subinit, init);
recompute_tree_invariant_for_addr_expr (sub);
} }
return init; return init;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment