aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
parent15aab9c0ac767b5c1c81757073b8cc3ac13c67fb (diff)
downloadgcc-3044064ca540aa22cb4398a69327944b31858167.zip
gcc-3044064ca540aa22cb4398a69327944b31858167.tar.gz
gcc-3044064ca540aa22cb4398a69327944b31858167.tar.bz2
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')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/sched-ebb.c10
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c1fdc2c..b23a68a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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 similiar load.
+
2003-02-25 Vladimir Makarov <vmakarov@redhat.com>
Richard Henderson <rth@redhat.com>
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index 3d25d80..ebf0982 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: