Commit 2ff363e0 by John David Anglin Committed by John David Anglin

jump.c (never_reached_warning): Don't set contains_insn until the first line note is seen.

	* jump.c (never_reached_warning): Don't set contains_insn until the
	first line note is seen.

From-SVN: r58785
parent 917c4de1
2002-11-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
* jump.c (never_reached_warning): Don't set contains_insn until the
first line note is seen.
2002-11-03 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (movti_string): Use string instructions.
......
......@@ -1917,7 +1917,7 @@ never_reached_warning (avoided_insn, finish)
}
else if (INSN_P (insn))
{
if (reached_end)
if (reached_end || a_line_note == NULL)
break;
contains_insn = 1;
}
......
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