aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-06-06 19:11:29 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-06-06 19:16:54 +0200
commit585c660f041c57694a61b3e65085af5a54431be4 (patch)
treeaaa7cabd88e9b1c77e4c379e060fd75cd1956531 /gcc/rtl.h
parentf1af7d65ff64fe7102d1490ef46ea491a533e641 (diff)
downloadgcc-585c660f041c57694a61b3e65085af5a54431be4.zip
gcc-585c660f041c57694a61b3e65085af5a54431be4.tar.gz
gcc-585c660f041c57694a61b3e65085af5a54431be4.tar.bz2
reload1: Change return type of predicate function from int to bool
gcc/ChangeLog: * rtl.h (function_invariant_p): Change return type from int to bool. * reload1.cc (function_invariant_p): Change return type from int to bool and adjust function body accordingly.
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 4c993e8..988691f 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -4307,7 +4307,7 @@ extern void fix_register (const char *, int, int);
extern const HARD_REG_SET *valid_mode_changes_for_regno (unsigned int);
/* In reload1.cc */
-extern int function_invariant_p (const_rtx);
+extern bool function_invariant_p (const_rtx);
/* In calls.cc */
enum libcall_type