From da5c25f37101cd71f08e31ad581a00840ef75497 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 27 Jan 2021 10:10:04 +0100 Subject: Rename PROP_trees to PROP_gimple PROP_trees actually means GIMPLE IL, rather than GENERIC, so better not to confuse users. 2021-01-27 Jakub Jelinek * tree-pass.h (PROP_trees): Rename to ... (PROP_gimple): ... this. * cfgexpand.c (pass_data_expand): Replace PROP_trees with PROP_gimple. * passes.c (execute_function_dump, execute_function_todo, execute_one_ipa_transform_pass, execute_one_pass): Likewise. * varpool.c (ctor_for_folding): Likewise. --- gcc/varpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/varpool.c') diff --git a/gcc/varpool.c b/gcc/varpool.c index 86f1605..4830df5 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -415,7 +415,7 @@ ctor_for_folding (tree decl) gcc_assert (!TREE_PUBLIC (decl)); /* Unless this is called during FE folding. */ if (cfun - && (cfun->curr_properties & (PROP_trees | PROP_rtl)) == 0 + && (cfun->curr_properties & (PROP_gimple | PROP_rtl)) == 0 && TREE_READONLY (decl) && !TREE_SIDE_EFFECTS (decl) && DECL_INITIAL (decl)) -- cgit v1.1