aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-06-14 10:25:36 -0600
committerJeff Law <law@gcc.gnu.org>2002-06-14 10:25:36 -0600
commit99a15921f00b8d3956a66a39bc98c57893a665f0 (patch)
tree72e1faa1b66f9c943d6e2c2fa17de7b0761bbfca /gcc/rtl.h
parente56c446321eafc7f19e1d7cd0ef0fa2bdfe40b5f (diff)
downloadgcc-99a15921f00b8d3956a66a39bc98c57893a665f0.zip
gcc-99a15921f00b8d3956a66a39bc98c57893a665f0.tar.gz
gcc-99a15921f00b8d3956a66a39bc98c57893a665f0.tar.bz2
gcse.c (delete_null_pointer_checks_1): Inform caller if any null pointer checks were eliminated.
* gcse.c (delete_null_pointer_checks_1): Inform caller if any null pointer checks were eliminated. Update prototype. (delete_null_pointer_checks): Similarly. * rtl.h (delete_null_pointer_checks): Update prototype. * toplev.c (rest_of_compilation): Only run cleanup_cfg if delete_null_pointer_checks deletes one or more null pointer checks. Do not run cleanup_cfg before gcse, the CFG is accurate and optimized at that point.. From-SVN: r54617
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 f198c8d..3842426 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2035,7 +2035,7 @@ extern void reg_scan PARAMS ((rtx, unsigned int, int));
extern void reg_scan_update PARAMS ((rtx, rtx, unsigned int));
extern void fix_register PARAMS ((const char *, int, int));
-extern void delete_null_pointer_checks PARAMS ((rtx));
+extern int delete_null_pointer_checks PARAMS ((rtx));
/* In regmove.c */
#ifdef BUFSIZ