diff options
author | Jakub Jelinek <jakub@redhat.com> | 2002-02-12 22:39:42 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2002-02-12 22:39:42 +0100 |
commit | 56d4428505c7dd85bf6a49dd9b22497331b39341 (patch) | |
tree | c47e31ee211f6ebb4c3412768ea592590252152c /gcc/rtl.h | |
parent | 34e68c86fb3567f1046c4136bfec656387029613 (diff) | |
download | gcc-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |