diff options
author | Sergei Trofimovich <siarheit@google.com> | 2021-01-07 23:00:46 +0000 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2021-01-08 21:25:29 +0000 |
commit | 0b874e0ffd5fab85d4b33059cb093322dfe7a3ba (patch) | |
tree | abb8af14c6cfd4ea2f50b3838ebbb6b2c00a24d8 /gcc | |
parent | 0e47d6c808fa5448f77850b4289fd612a37f53a3 (diff) | |
download | gcc-0b874e0ffd5fab85d4b33059cb093322dfe7a3ba.zip gcc-0b874e0ffd5fab85d4b33059cb093322dfe7a3ba.tar.gz gcc-0b874e0ffd5fab85d4b33059cb093322dfe7a3ba.tar.bz2 |
ipa-modref: avoid linebreak split in debug print
* ipa-modref.c (merge_call_side_effects): Fix
linebreak split by reordering two print calls.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ipa-modref.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c index fcc676d..04613201 100644 --- a/gcc/ipa-modref.c +++ b/gcc/ipa-modref.c @@ -835,10 +835,6 @@ merge_call_side_effects (modref_summary *cur_summary, auto_vec <modref_parm_map, 32> parm_map; bool changed = false; - if (dump_file) - fprintf (dump_file, " - Merging side effects of %s with parm map:", - callee_node->dump_name ()); - /* We can not safely optimize based on summary of callee if it does not always bind to current def: it is possible that memory load was optimized out earlier which may not happen in the interposed @@ -850,6 +846,10 @@ merge_call_side_effects (modref_summary *cur_summary, cur_summary->loads->collapse (); } + if (dump_file) + fprintf (dump_file, " - Merging side effects of %s with parm map:", + callee_node->dump_name ()); + parm_map.safe_grow_cleared (gimple_call_num_args (stmt), true); for (unsigned i = 0; i < gimple_call_num_args (stmt); i++) { |