From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by sourceware.org (Postfix) with ESMTPS id 1718F3858D1E for ; Sat, 22 Jul 2023 20:53:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1718F3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36MJIpna023140 for ; Sat, 22 Jul 2023 13:53:14 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=mBcCXxXk6REZ4906S45PNkVXLdfUySh+4v2y5JEX9vY=; b=F/x+e/SzXTqembY5cI2+skJnnsCgNCtcCJnwedyXjBtdhxo+Swp4tUR2jIm0ORpAqf1o n1buwOy6YTfdRT76StwBoJJV1q4b/DdHFYrHIl1gCw/XIPoKU8G4PHnKIo4KTdKULKgu O+hGi9EuF602phvazJPxSTIZ2an6Fwp8Mmx69UWjOjs5VF11aFN4FslkjXXWA4OAZIfC u0+NIccSZoCUrXEYGPbARWRiCWOT2GbbXYu1styFAQnrQsMTL2GtJ4vKlI5dep1Gbe47 OGL866dpBdl50sfg6qhGklQ68Xr9sj25ueGupHhES/bB8kDIl3voOTKtHXZ5YUX8MUD9 ig== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3s0cfns1ka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sat, 22 Jul 2023 13:53:14 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sat, 22 Jul 2023 13:53:13 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Sat, 22 Jul 2023 13:53:13 -0700 Received: from vpnclient.wrightpinski.org.com (unknown [10.76.242.112]) by maili.marvell.com (Postfix) with ESMTP id 6B8D63F7040; Sat, 22 Jul 2023 13:53:12 -0700 (PDT) From: Andrew Pinski To: CC: Andrew Pinski Subject: [PATCH] Fix alpha building Date: Sat, 22 Jul 2023 13:53:02 -0700 Message-ID: <20230722205302.1611930-1-apinski@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: F37dy7o2cmMtYathjEcDImr2ejZ8j7L6 X-Proofpoint-GUID: F37dy7o2cmMtYathjEcDImr2ejZ8j7L6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-22_10,2023-07-20_01,2023-05-22_02 X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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