summaryrefslogtreecommitdiff
path: root/gcc/sched-ebb.c
diff options
context:
space:
mode:
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-25 21:43:16 +0000
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-25 21:43:16 +0000
commitb9dd9156a6d9e3e0a2e2a5900e206385f55ef9e6 (patch)
treecec35bbeb60d8fc63efbca0958174658cd5aa323 /gcc/sched-ebb.c
parent9b7c6f02f57bb9b25dd127dacf55219a8432b03e (diff)
downloadgcc-b9dd9156a6d9e3e0a2e2a5900e206385f55ef9e6.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63416 138bc75d-0d04-0410-961f-82ee72b054a4
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: