summaryrefslogtreecommitdiff
path: root/gcc/sched-ebb.c
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@toke.toronto.redhat.com>2003-02-25 21:43:16 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2003-02-25 21:43:16 +0000
commit3044064ca540aa22cb4398a69327944b31858167 (patch)
treecec35bbeb60d8fc63efbca0958174658cd5aa323 /gcc/sched-ebb.c
parent15aab9c0ac767b5c1c81757073b8cc3ac13c67fb (diff)
downloadgcc-3044064ca540aa22cb4398a69327944b31858167.tar.gz
sched-ebb.c (add_deps_for_risky_insns): Add the dependence when there is no similar load.
2003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> Richard Henderson <rth@redhat.com> * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when there is no similar load. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r63416
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r--gcc/sched-ebb.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index 3d25d80da37..ebf09829e68 100644
--- a/gcc/sched-ebb.c
+++ b/gcc/sched-ebb.c
@@ -442,10 +442,12 @@ add_deps_for_risky_insns (head, tail)
{
bb = earliest_block_with_similiar_load (last_block, insn);
if (bb)
- bb = bb->aux;
- if (!bb)
- break;
- prev = bb->end;
+ {
+ bb = bb->aux;
+ if (!bb)
+ break;
+ prev = bb->end;
+ }
}
/* FALLTHRU */
case TRAP_RISKY: