From 585c660f041c57694a61b3e65085af5a54431be4 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 6 Jun 2023 19:11:29 +0200 Subject: 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. --- 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 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 -- cgit v1.1