2009-07-17 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jul 2009 09:09:11 +0000 (09:09 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jul 2009 09:09:11 +0000 (09:09 +0000)
* init.c (build_vec_delete_1): Do not set DECL_REGISTER on the
temporary pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149736 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/init.c

index 71d2105..43d3fa4 100644 (file)
@@ -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>
 
index 73403e9..3da8ab8 100644 (file)
@@ -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;