]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix alpha building
authorAndrew Pinski <apinski@marvell.com>
Sat, 22 Jul 2023 20:34:41 +0000 (20:34 +0000)
committerAndrew Pinski <apinski@marvell.com>
Sat, 22 Jul 2023 20:53:57 +0000 (20:53 +0000)
The problem is after r14-2587-gd8105b10fff951, the definition of
extended_count now takes a bool as its last argument but we only
have a declaration for the version which takes an int as the last
argument. This fixes the problem by changing the declaration to be
a bool too.

Committed as obvious after building a cross to alpha-linux-gnu.

gcc/ChangeLog:

PR target/110778
* rtl.h (extended_count): Change last argument type
to bool.

gcc/rtl.h

index 03b7d058295361f66bc78e7c1c952a9fcb5c9307..e1c51156f90964252f1ef397b3e53b36ac3a4b42 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -4214,7 +4214,7 @@ extern bool validate_subreg (machine_mode, machine_mode,
                             const_rtx, poly_uint64);
 
 /* In combine.cc  */
-extern unsigned int extended_count (const_rtx, machine_mode, int);
+extern unsigned int extended_count (const_rtx, machine_mode, bool);
 extern rtx remove_death (unsigned int, rtx_insn *);
 extern rtx make_compound_operation (rtx, enum rtx_code);