diff options
author | Andrew Pinski <apinski@marvell.com> | 2023-07-22 20:34:41 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2023-07-22 20:53:57 +0000 |
commit | 659d856e1d424ea8ef634844a7bd08b86ec7344b (patch) | |
tree | dbbc27650e95f78688749078c055019666b6fe64 | |
parent | 59c38ddfe052a409a690380d0378169f4a3936ad (diff) | |
download | gcc-659d856e1d424ea8ef634844a7bd08b86ec7344b.zip gcc-659d856e1d424ea8ef634844a7bd08b86ec7344b.tar.gz gcc-659d856e1d424ea8ef634844a7bd08b86ec7344b.tar.bz2 |
Fix alpha building
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.
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |