mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-15 06:54:05 +08:00
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:
parent
917c4de19a
commit
2ff363e011
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user