summaryrefslogtreecommitdiff
path: root/gcc/sched.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-10 05:49:08 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-10 05:49:08 +0000
commitc353955d5a8131a470d6aa84da55308b5576e4f8 (patch)
tree4280e76977db5ad099aa6d9084745538dfa6131f /gcc/sched.c
parent4b22001e7f670eb58ce56493ff8c293067e814aa (diff)
downloadgcc-c353955d5a8131a470d6aa84da55308b5576e4f8.tar.gz
(add_dependence): Add test for next != CODE_LABEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11192 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched.c')
-rw-r--r--gcc/sched.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/sched.c b/gcc/sched.c
index 99c9e026ef8..a8883e8da60 100644
--- a/gcc/sched.c
+++ b/gcc/sched.c
@@ -931,7 +931,8 @@ add_dependence (insn, elem, dep_type)
next = NEXT_INSN (next);
#endif
- if (next && SCHED_GROUP_P (next))
+ if (next && SCHED_GROUP_P (next)
+ && GET_CODE (next) != CODE_LABEL)
{
/* Notes will never intervene here though, so don't bother checking
for them. */