diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 71d2105f08b9..43d3fa4a20ab 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2009-07-17 Richard Guenther + + * init.c (build_vec_delete_1): Do not set DECL_REGISTER on the + temporary pointer. + 2009-07-17 Aldy Hernandez Manuel López-Ibáñez diff --git a/gcc/cp/init.c b/gcc/cp/init.c index 73403e9113ae..3da8ab8464c8 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;