diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2021-09-13 19:49:49 +0200 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2021-09-13 19:49:49 +0200 |
commit | b18a97e5dd0935e1c4a626c230f21457d0aad3d5 (patch) | |
tree | c1818f41af6fe780deafb6cd6a183f32085fe654 /gcc/passes.c | |
parent | e76a53644c9d70e998c0d050e9a456af388c6b61 (diff) | |
download | gcc-b18a97e5dd0935e1c4a626c230f21457d0aad3d5.zip gcc-b18a97e5dd0935e1c4a626c230f21457d0aad3d5.tar.gz gcc-b18a97e5dd0935e1c4a626c230f21457d0aad3d5.tar.bz2 |
Merged current trunk to branch.
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 973c958..64550b0 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -1,5 +1,5 @@ /* Top level of GCC compilers (cc1, cc1plus, etc.) - Copyright (C) 1987-2020 Free Software Foundation, Inc. + Copyright (C) 1987-2021 Free Software Foundation, Inc. This file is part of GCC. @@ -1793,7 +1793,7 @@ execute_function_dump (function *fn, void *data) { push_cfun (fn); - if (fn->curr_properties & PROP_trees) + if (fn->curr_properties & PROP_gimple) dump_function_to_file (fn->decl, dump_file, dump_flags); else print_rtl_with_bb (dump_file, get_insns (), dump_flags); @@ -2034,7 +2034,7 @@ execute_function_todo (function *fn, void *data) if (flags & TODO_verify_il) { - if (cfun->curr_properties & PROP_trees) + if (cfun->curr_properties & PROP_gimple) { if (cfun->curr_properties & PROP_cfg) /* IPA passes leave stmts to be fixed up, so make sure to @@ -2272,7 +2272,7 @@ execute_one_ipa_transform_pass (struct cgraph_node *node, /* Note that the folders should only create gimple expressions. This is a hack until the new folder is ready. */ - in_gimple_form = (cfun && (cfun->curr_properties & PROP_trees)) != 0; + in_gimple_form = (cfun && (cfun->curr_properties & PROP_gimple)) != 0; pass_init_dump_file (pass); @@ -2545,7 +2545,7 @@ execute_one_pass (opt_pass *pass) /* Note that the folders should only create gimple expressions. This is a hack until the new folder is ready. */ - in_gimple_form = (cfun && (cfun->curr_properties & PROP_trees)) != 0; + in_gimple_form = (cfun && (cfun->curr_properties & PROP_gimple)) != 0; pass_init_dump_file (pass); @@ -2628,7 +2628,7 @@ execute_one_pass (opt_pass *pass) pass_fini_dump_file (pass); if (pass->type != SIMPLE_IPA_PASS && pass->type != IPA_PASS) - gcc_assert (!(cfun->curr_properties & PROP_trees) + gcc_assert (!(cfun->curr_properties & PROP_gimple) || pass->type != RTL_PASS); current_pass = NULL; |