Message ID | 20230722205302.1611930-1-apinski@marvell.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp978024vqg; Sat, 22 Jul 2023 13:54:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlGffrzpIwggWB7h6bczdhZaupqws2isNh81TSADAPdrVY3YgizwehlMixSFUDJIxEwPd+Z2 X-Received: by 2002:a17:907:ea7:b0:98f:450e:fc20 with SMTP id ho39-20020a1709070ea700b0098f450efc20mr12631025ejc.17.1690059241217; Sat, 22 Jul 2023 13:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690059241; cv=none; d=google.com; s=arc-20160816; b=znpL3sABVv1OwoM5W2q6crrmDs40DtDqNNUn8m+853IYYk+tPIY188qtaq+tOLXYWW lYYU78nhV2JWzgwUOks3Vf0rvpMvNbpEFKe6aodwrDKkbSHotz+1eBnXpJkBToYU2w3d umEGnBk4j95eYVG3paBi7ject5LeLADLvIATK1bSzBpm3MRFN7KIi79ZNCn6Xl5hM576 FF8ygQ+wQ42nmLg4SRhICIbvIkocMNXOB6tOfE6GrHWxPyHaMWyg3pF3c2UdgQ2ZzOWV j3f4YDFKOs1GUCHLm9QjSi+nUESFyCrs9ADpf2kPHwoQdzjBMfli5Isyda6rTOopPIkK /7ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=mBcCXxXk6REZ4906S45PNkVXLdfUySh+4v2y5JEX9vY=; fh=09okz+w4tVyhQmqNBttR063P0zKcIsLE1JRBioNPGC4=; b=ZGPY+Z1nk+SdlBjswlrcWQGaFkqNsu4NWJZIE+2Yw2eWhdITSXS1F4uZ0zGCWQzHS3 xf7r6v3dir6fqwOPyPsys98df12NKQ5a6ggb217ubUExdvz4RAAuvtnbBhf53N3wJHWy M0UuymqulrkhOiij1Z/PAtbbmygu8O36vDvurkWY/9rNDVqk6smVPtWIdgbZRXBm/Nuk VOXm8crQZKDJ/AC4WZZB5AFy6WXCiTdj6XYMqTfpxpwnto/SPacpxqZP+GV/6XSw1C+z rPtqPLtPvqi6G0ZKJsP+hprY3U5Pom80hJDrLErcZfG0/o6VojBdy1Gc1kbufmRk8lFT hMCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=N01E39a9; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id kj10-20020a170907764a00b0097455b9d069si4146418ejc.1033.2023.07.22.13.54.00 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jul 2023 13:54:01 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=N01E39a9; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 156F63857B8E for <ouuuleilei@gmail.com>; Sat, 22 Jul 2023 20:54:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 156F63857B8E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690059240; bh=mBcCXxXk6REZ4906S45PNkVXLdfUySh+4v2y5JEX9vY=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=N01E39a97sz5M3aizLw4t9UtMAiBmeq0/FkDjrBdVXjdNUjhylgE4UJy7MczsH30b HvB0wYXH8oiw4/S7HmHz15AycPJII4L474v8/GZjrviDIRqW8I2VNA8YqEn815ASHv WaHdiC4gpWeJ6JZA0hs6U4DiZQpph63hBETMESl4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by sourceware.org (Postfix) with ESMTPS id 1718F3858D1E for <gcc-patches@gcc.gnu.org>; Sat, 22 Jul 2023 20:53:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1718F3858D1E 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 <gcc-patches@gcc.gnu.org>; Sat, 22 Jul 2023 13:53:14 -0700 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 <gcc-patches@gcc.gnu.org>; 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) 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 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Andrew Pinski via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Andrew Pinski <apinski@marvell.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772155559034675085 X-GMAIL-MSGID: 1772155559034675085 |
Series |
Fix alpha building
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Andrew Pinski
July 22, 2023, 8:53 p.m. UTC
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);