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
This commit is contained in:
parent
03d670c8cc
commit
0c0cba54e8
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
|
|
|
@ -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);
|
||||
if (subinit)
|
||||
init = build2 (COMPOUND_EXPR, TREE_TYPE (init), subinit, init);
|
||||
recompute_tree_invariant_for_addr_expr (sub);
|
||||
}
|
||||
return init;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue