aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-11-04 05:01:21 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-11-04 05:01:21 +0000
commit2ff363e01126d51253d98ec8334dbab24c1830ca (patch)
treeb59e5d31543e1205a81e57ea89ff0bef2036636b /gcc/jump.c
parent917c4de19a4e5e391d1b022fb0057f6a7b110ea7 (diff)
downloadgcc-2ff363e01126d51253d98ec8334dbab24c1830ca.zip
gcc-2ff363e01126d51253d98ec8334dbab24c1830ca.tar.gz
gcc-2ff363e01126d51253d98ec8334dbab24c1830ca.tar.bz2
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
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 3b75110..65312b4 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -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;
}