From patchwork Mon Aug 7 10:32:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Patchwork-Id: 131807 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1377933vqr; Mon, 7 Aug 2023 04:25:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZpLDokvhRSNmVeZT/fCNIQcagWxPnNZ9zawEtw4h/wdJ9gL3GKlXQUVNj/hMzTfS5GieX X-Received: by 2002:a17:906:3151:b0:99b:c2b2:e498 with SMTP id e17-20020a170906315100b0099bc2b2e498mr7583327eje.52.1691407530372; Mon, 07 Aug 2023 04:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691407530; cv=none; d=google.com; s=arc-20160816; b=nOiWj+1fokCy33YPkXq0dODRLX45KVwlRb0lJywxjdYVd3dflTH3EpZAvJtceX1L0h Ze2pkVqGzQwodlC2OX64JQFil1xhhobR71qakgd0DBkDQKZ4Y+yycV6hr+Cbs4cP4fg4 YTjcKblvynYACUM9QsHuvRDTjXLBKZXZa/VDYgXBXaJVqM5PuFIiUzddigxk1VT8AFX0 mIVE8IcU15oUvix5SWfxZHdjBEOYWCJft6iQxo1NKyFHVvkkTfE1rLeN0NNxCq8JTpGi hSI5MC4Jtelqci/RX66qHi0S8JC3hNq9XG5UUTvy8g51ishVBdhJI5O7wmYfHtVQ2nGp Fu4A== 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:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=EGptTqDxIxV/uNa6z/KTzlZUkNSY215uhU9g+18WLuo=; fh=J5RN7cYOLhErnAFNaNMUeaP4PXVtlOGZsaKtRgU1LVM=; b=mM/oD9X62psO41fKdDZFDQZDhoUMXti/UaLteinmzqD1oqMvglIRpEG6jG/L1HbJCu 5oQP28Altw+E3YmCuN23h9NX492/g7Rl5R2BeHbcmeWBU4wL+bV7k3E3US2a/YzJO0VG H1JcjHjT3C4PutEK5deIfB/5vu/7rmKXpRwHqFb7NT4V+3d1v1ZVPgRoh+srz9wWxICv Hy8D4+DfJRV/qmQty1RQXy4fBCMbsAUYhF64tB29jtwuNGotP+fjgJLl+HsOjSrMXmG4 HnlMx2Y3KLBskJukaXFRrIvLCtgepEho537FUQJahQLv/yjnIoHgf2t3hMduhZ9QBV44 k8lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=kx+ZXKes; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id l18-20020a1709067d5200b0099364d9f0e4si1939924ejp.278.2023.08.07.04.25.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 04:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=kx+ZXKes; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 49B283887F75 for ; Mon, 7 Aug 2023 11:22:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49B283887F75 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691407334; bh=EGptTqDxIxV/uNa6z/KTzlZUkNSY215uhU9g+18WLuo=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=kx+ZXKesGp1WkVA8sjJFfGiM9c4A4AZYvCEPmseEoKcU27DyYgUKxktpiNJV6Z5CZ TdywJwN3Nbd7Pxpm3nBgq4mJvGf9CrIPXrWTJqQzOjJ9EGmy9PK/CzyT4DKVyR4pa4 RsZj1ciflFTh4sGnBi6rmV3i1v/3y0df/ioe7TjU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by sourceware.org (Postfix) with ESMTPS id E8C54385841D for ; Mon, 7 Aug 2023 11:19:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E8C54385841D Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4RKDNZ238kz9sZL; Mon, 7 Aug 2023 13:19:10 +0200 (CEST) To: gcc-patches@gcc.gnu.org Cc: Alan Modra Subject: [PATCH 03/24] gcc-4.5 build fixes Date: Mon, 7 Aug 2023 12:32:45 +0200 Message-ID: <20230807105935.2098236-4-arsen@aarsen.me> In-Reply-To: <20230807105935.2098236-1-arsen@aarsen.me> References: <20230807105935.2098236-1-arsen@aarsen.me> MIME-Version: 1.0 X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Gcc-patches?= From: =?utf-8?q?Arsen_Arsenovi=C4=87?= Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773569342225370593 X-GMAIL-MSGID: 1773569342225370593 From: Alan Modra Trying to build binutils with an older gcc currently fails. Working around these gcc bugs is not onerous so let's fix them. include/ChangeLog: * xtensa-dynconfig.h (xtensa_isa_internal): Delete unnecessary forward declaration. --- include/xtensa-dynconfig.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/xtensa-dynconfig.h b/include/xtensa-dynconfig.h index 48877ebb6b6..45d54dcd0e0 100644 --- a/include/xtensa-dynconfig.h +++ b/include/xtensa-dynconfig.h @@ -121,8 +121,6 @@ struct xtensa_config_v4 int xchal_unaligned_store_hw; }; -typedef struct xtensa_isa_internal_struct xtensa_isa_internal; - extern const void *xtensa_load_config (const char *name, const void *no_plugin_def, const void *no_name_def);