public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Pinski <apinski@marvell.com>
To: <gcc-patches@gcc.gnu.org>
Cc: Andrew Pinski <apinski@marvell.com>
Subject: [PATCH] Fix alpha building
Date: Sat, 22 Jul 2023 13:53:02 -0700	[thread overview]
Message-ID: <20230722205302.1611930-1-apinski@marvell.com> (raw)

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/rtl.h b/gcc/rtl.h
index 03b7d058295..e1c51156f90 100644
--- 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);
 
-- 
2.31.1


                 reply	other threads:[~2023-07-22 20:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230722205302.1611930-1-apinski@marvell.com \
    --to=apinski@marvell.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).