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
This commit is contained in:
John David Anglin 2002-11-04 05:01:21 +00:00 committed by John David Anglin
parent 917c4de19a
commit 2ff363e011
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;
}