From: Richard Guenther Date: Fri, 17 Jul 2009 09:09:11 +0000 (+0000) Subject: init.c (build_vec_delete_1): Do not set DECL_REGISTER on the temporary pointer. X-Git-Tag: releases/gcc-4.5.0~4532 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=182bf21f324469734ab0624023c0a416909d76d2;p=thirdparty%2Fgcc.git init.c (build_vec_delete_1): Do not set DECL_REGISTER on the temporary pointer. 2009-07-17 Richard Guenther * init.c (build_vec_delete_1): Do not set DECL_REGISTER on the temporary pointer. From-SVN: r149736 --- 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;