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
This commit is contained in:
Aldy Hernandez 2015-05-22 13:31:29 +00:00 committed by Aldy Hernandez
parent e55ffe1001
commit f8d851c6f7
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-05-22 Aldy Hernandez <aldyh@redhat.com>
* tree-switch-conversion.c (build_one_array): Set DECL_IGNORED_P
for CSWTCH temporary.
2015-05-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (arm_new_rtx_costs): Handle UNSPEC_VOLATILE.

View File

@ -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);