diff options
author | Richard Henderson <rth@redhat.com> | 2001-12-29 10:46:38 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-12-29 10:46:38 -0800 |
commit | b7fe373bfb4dbbde0178914b2218862f7677b69d (patch) | |
tree | 35b7bc875a47a23ed39a2fd5552bbadc94584ca1 /gcc/sched-deps.c | |
parent | 4e5ea414df790f3de4acff45cd2fc8be4d5e3fff (diff) | |
download | gcc-b7fe373bfb4dbbde0178914b2218862f7677b69d.zip gcc-b7fe373bfb4dbbde0178914b2218862f7677b69d.tar.gz gcc-b7fe373bfb4dbbde0178914b2218862f7677b69d.tar.bz2 |
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
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r-- | gcc/sched-deps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |