https://gcc.gnu.org/g:7a366ecef38f34093b7a1f5444819bda09508398
commit r17-4056-g7a366ecef38f34093b7a1f5444819bda09508398 Author: Kyrylo Tkachov <[email protected]> Date: Thu Jul 23 08:08:49 2026 +0200 ifcvt: remove the vacuous IFCVT_MULTIPLE_DUMPS macro IFCVT_MULTIPLE_DUMPS was unconditionally #defined to 1, so its three #ifdef guards in if_convert were always taken. Drop the macro and the guards, keeping the dump code inline. No functional change. gcc/ChangeLog: * ifcvt.cc (IFCVT_MULTIPLE_DUMPS): Remove. (if_convert): Remove its now-vacuous #ifdef guards. Signed-off-by: Kyrylo Tkachov <[email protected]> Diff: --- gcc/ifcvt.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gcc/ifcvt.cc b/gcc/ifcvt.cc index 7ebe6892d5de..a05d23e044c2 100644 --- a/gcc/ifcvt.cc +++ b/gcc/ifcvt.cc @@ -53,8 +53,6 @@ + 1) #endif -#define IFCVT_MULTIPLE_DUMPS 1 - #define NULL_BLOCK ((basic_block) NULL) /* Which of the three RTL if-conversion passes is running. ce1 runs before @@ -6876,10 +6874,8 @@ if_convert (ifcvt_phase phase) cond_exec_changed_p = false; pass++; -#ifdef IFCVT_MULTIPLE_DUMPS if (dump_file && pass > 1) fprintf (dump_file, "\n\n========== Pass %d ==========\n", pass); -#endif FOR_EACH_BB_FN (bb, cfun) { @@ -6889,17 +6885,13 @@ if_convert (ifcvt_phase phase) bb = new_bb; } -#ifdef IFCVT_MULTIPLE_DUMPS if (dump_file && cond_exec_changed_p) print_rtl_with_bb (dump_file, get_insns (), dump_flags); -#endif } while (cond_exec_changed_p); -#ifdef IFCVT_MULTIPLE_DUMPS if (dump_file) fprintf (dump_file, "\n\n========== no more changes\n"); -#endif free_dominance_info (CDI_POST_DOMINATORS);
