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:
parent
e55ffe1001
commit
f8d851c6f7
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue