From: Aldy Hernandez Date: Fri, 22 May 2015 13:31:29 +0000 (+0000) Subject: tree-switch-conversion.c (build_one_array): Set DECL_IGNORED_P for CSWTCH temporary. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8d851c6f796b81366e0c968c2e85a9b98a95ce8;p=gcc.git tree-switch-conversion.c (build_one_array): Set DECL_IGNORED_P for CSWTCH temporary. * tree-switch-conversion.c (build_one_array): Set DECL_IGNORED_P for CSWTCH temporary. From-SVN: r223572 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b04e563d26..58abb46c997 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-22 Aldy Hernandez + + * tree-switch-conversion.c (build_one_array): Set DECL_IGNORED_P + for CSWTCH temporary. + 2015-05-22 Kyrylo Tkachov * config/arm/arm.c (arm_new_rtx_costs): Handle UNSPEC_VOLATILE. diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c index 6b68a161c44..3440ca40b05 100644 --- a/gcc/tree-switch-conversion.c +++ b/gcc/tree-switch-conversion.c @@ -1095,6 +1095,7 @@ build_one_array (gswitch *swtch, int num, tree arr_index_type, DECL_NAME (decl) = create_tmp_var_name ("CSWTCH"); DECL_ARTIFICIAL (decl) = 1; + DECL_IGNORED_P (decl) = 1; TREE_CONSTANT (decl) = 1; TREE_READONLY (decl) = 1; varpool_node::finalize_decl (decl);