From b7fe373bfb4dbbde0178914b2218862f7677b69d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 29 Dec 2001 10:46:38 -0800 Subject: loop.c (prescan_loop): Set has_multiple_exit_targets for exception edges. * loop.c (prescan_loop): Set has_multiple_exit_targets for exception edges. Rearrange jump interpretation code to use pc_set. (check_dbra_loop): Examine has_multiple_exit_targets not exit_count. * sched-deps.c (sched_analyze_insn): Set scheduling barrier for all insns that can throw, not just if flag_non_call_exceptions. From-SVN: r48377 --- gcc/sched-deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/sched-deps.c') diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 13e929c..e315a4c 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -1141,7 +1141,7 @@ sched_analyze_insn (deps, x, insn, loop_notes) /* If this instruction can throw an exception, then moving it changes where block boundaries fall. This is mighty confusing elsewhere. Therefore, prevent such an instruction from being moved. */ - if (flag_non_call_exceptions && can_throw_internal (insn)) + if (can_throw_internal (insn)) schedule_barrier_found = 1; /* Add dependencies if a scheduling barrier was found. */ -- cgit v1.1