Commit 7e735d6f by Doug Evans

(add_dependence): Add test for next != CODE_LABEL.

From-SVN: r11192
parent 197b2bf3
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment