aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index b90edcba..ef0ac60 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3458,7 +3458,9 @@ rest_of_compilation (decl)
#endif
/* If optimizing, then go ahead and split insns now. */
+#ifndef STACK_REGS
if (optimize > 0)
+#endif
split_all_insns (0);
cleanup_cfg (optimize ? CLEANUP_EXPENSIVE : 0);
@@ -3551,10 +3553,6 @@ rest_of_compilation (decl)
close_dump_file (DFI_ce3, print_rtl_with_bb, insns);
timevar_pop (TV_IFCVT2);
}
-#ifdef STACK_REGS
- if (optimize)
- split_all_insns (1);
-#endif
#ifdef INSN_SCHEDULING
if (optimize > 0 && flag_schedule_insns_after_reload)