diff options
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/init.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 71d2105..43d3fa4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2009-07-17 Richard Guenther <rguenther@suse.de> + + * init.c (build_vec_delete_1): Do not set DECL_REGISTER on the + temporary pointer. + 2009-07-17 Aldy Hernandez <aldyh@redhat.com> Manuel López-Ibáñez <manu@gcc.gnu.org> diff --git a/gcc/cp/init.c b/gcc/cp/init.c index 73403e9..3da8ab8 100644 --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -2507,7 +2507,6 @@ build_vec_delete_1 (tree base, tree maxindex, tree type, fold_convert (ptype, base), virtual_size), tf_warning_or_error); - DECL_REGISTER (tbase) = 1; controller = build3 (BIND_EXPR, void_type_node, tbase, NULL_TREE, NULL_TREE); TREE_SIDE_EFFECTS (controller) = 1; |