From 2b7d71b2b932e9be61b1c1415419e6df630a0165 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 15 Nov 2001 11:28:52 +0100 Subject: jump.c (squeeze_notes): Return true if no real insns were found. * jump.c (squeeze_notes): Return true if no real insns were found. * rtl.h (squeeze_notes): Adjust prototype. * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If squeeze_notes finds no real instructions, abort. (merge_blocks_move_successor_nojumps): Likewise. * loop.c (find_and_verify_loops): Likewise. * stmt.c (expand_end_case): Likewise. * ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't find any real instructions. * gcc.c-torture/compile/20011114-4.c: New test. From-SVN: r47048 --- gcc/rtl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index 872d70d..01e0fb6 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1340,7 +1340,7 @@ extern void mark_jump_label PARAMS ((rtx, rtx, int)); extern void cleanup_barriers PARAMS ((void)); /* In jump.c */ -extern void squeeze_notes PARAMS ((rtx *, rtx *)); +extern bool squeeze_notes PARAMS ((rtx *, rtx *)); extern rtx delete_related_insns PARAMS ((rtx)); extern void delete_jump PARAMS ((rtx)); extern void delete_barrier PARAMS ((rtx)); -- cgit v1.1