diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-01-27 10:10:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-01-27 10:10:04 +0100 |
commit | da5c25f37101cd71f08e31ad581a00840ef75497 (patch) | |
tree | 06b1114c3736183b5e5d5cfc71633cbc744b0f11 /gcc/varpool.c | |
parent | efc9ccbfd0ca4da6bf0aba913df6f77f56044dc2 (diff) | |
download | gcc-da5c25f37101cd71f08e31ad581a00840ef75497.zip gcc-da5c25f37101cd71f08e31ad581a00840ef75497.tar.gz gcc-da5c25f37101cd71f08e31ad581a00840ef75497.tar.bz2 |
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 <jakub@redhat.com>
* 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.
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r-- | gcc/varpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |