aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-02-12 22:39:42 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2002-02-12 22:39:42 +0100
commit56d4428505c7dd85bf6a49dd9b22497331b39341 (patch)
treec47e31ee211f6ebb4c3412768ea592590252152c /gcc/rtl.h
parent34e68c86fb3567f1046c4136bfec656387029613 (diff)
downloadgcc-56d4428505c7dd85bf6a49dd9b22497331b39341.zip
gcc-56d4428505c7dd85bf6a49dd9b22497331b39341.tar.gz
gcc-56d4428505c7dd85bf6a49dd9b22497331b39341.tar.bz2
jump.c (never_reached_warning): Add finish argument.
* jump.c (never_reached_warning): Add finish argument. If finish is NULL, stop on CODE_LABEL, otherwise stop before first real insn after end. * rtl.h (never_reached_warning): Adjust prototype. * cse.c (cse_insn): Pass NULL as finish to never_reached_warning. * cfgrtl.c (flow_delete_block): Pass b->end as finish to never_reached_warning. * gcc.dg/Wunreachable-1.c: New test. * gcc.dg/Wunreachable-2.c: New test. From-SVN: r49713
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index ef4c5f8..99fabfc 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1808,7 +1808,7 @@ extern enum rtx_code reversed_comparison_code_parts PARAMS ((enum rtx_code,
rtx, rtx, rtx));
extern void delete_for_peephole PARAMS ((rtx, rtx));
extern int condjump_in_parallel_p PARAMS ((rtx));
-extern void never_reached_warning PARAMS ((rtx));
+extern void never_reached_warning PARAMS ((rtx, rtx));
extern void purge_line_number_notes PARAMS ((rtx));
extern void copy_loop_headers PARAMS ((rtx));