From patchwork Tue Oct 25 04:23:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 10484 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp798907wru; Mon, 24 Oct 2022 21:24:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7lfnLNEnL+zKlF6Inc92128DHSNcQT4yQ6r/jNn+Me4LB3HFcnXC/BgZTx0P0h7rzX9iVs X-Received: by 2002:a17:907:6d9b:b0:78d:ce6a:3300 with SMTP id sb27-20020a1709076d9b00b0078dce6a3300mr29278732ejc.91.1666671872899; Mon, 24 Oct 2022 21:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666671872; cv=none; d=google.com; s=arc-20160816; b=dQ7G/bM4DD6mmC9g5M6D7+ZvuwJvCgiDgxj0PtQcE2EapYneLzP8azDxxK7uzSANlc ApCJhzO+htHohxSmJbLNGxcWFJr6uQMQUL4DrBO9RRQ4ie7x6SKXJqDtfhnHy7YKCb/J FsQykOPsrTZEBqCYlSi1eH+Xcsqq3r4/fYhvFzvSXPXf0DP7MMj0AwbsWN2jZPChaRxg EwggHQ33OqLf+Lj+1XeuzH3g1xP+49Mh7adJDPKr2sLPsYtUdEnaEqpZ7DcetxH+URD9 JlaTaG3wNNV641CwAMbQOaLOQsXGCgQkqCqlcvIYmVp+ZuxSHBeLexE2tyox4RVKA/N+ QDmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :in-reply-to:content-language:references:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature:dkim-signature :dmarc-filter:delivered-to; bh=ucikMQs3i0hogOkkszF1ly/+JLkwSEHVWCx6xke5bfY=; b=M4GbmfrP+olONWJlehxm4YISWoqoaAx9JLanvPxswLUoXz3jzCZvOBvbyG3zVJ8asW 1r5dHs26/G2bKFYdSv8rUYQTDWyVnTu4YYMRrDii9Qd8NFjTjQeKk2IATU5mOUgoU/As 9loYyr6MMb0C6RPS0dJs0QwdgX83hzwJqJPIUMW89F39Fm89JxB0uL8/S47/oUhmzH4y pIfPldOCsmCywBx5AYyhIMvLAjnRwvIJPUxJ1YmYCOI67lGGWlpRrfG4YGHgHmYlvtcO KJS+vXzOBFVfXUSKbnvriD+w4RwPJrKE1Zt7LaF2q5U6u+/9HPmb2IqWjHHH8FuYIXO8 p48w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="N/22JHMl"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id h12-20020a05640250cc00b00461970e2b09si2122707edb.556.2022.10.24.21.24.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 21:24:32 -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=@suse.cz header.s=susede2_rsa header.b="N/22JHMl"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 969A3385742B for ; Tue, 25 Oct 2022 04:24:27 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 8F998385829A for ; Tue, 25 Oct 2022 04:23:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8F998385829A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 45CDB21F77 for ; Tue, 25 Oct 2022 04:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1666671834; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ucikMQs3i0hogOkkszF1ly/+JLkwSEHVWCx6xke5bfY=; b=N/22JHMl3vSqHpf7hBmXukuFoGPsNecMWuIh9FeOgQG2GJAUOtvGu20vpwUdgMjWfe1Ndi TlIu3mpJWDjlWYow22n8UT7bvANx8fB2cOWS+Lut/pxPiwfqPIZdGDvU39+GHOOVXO3Qrn 3z4we2STh6Q5B0R+S5qOF5e8FngAJAw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1666671834; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ucikMQs3i0hogOkkszF1ly/+JLkwSEHVWCx6xke5bfY=; b=354gAK1se241rAfbmc6FTFPp8nO1w9Fruq7cev+y2WxZa7yoUh9Bx7K4T7SsEnq8NhWN4p zsDK7w3Y5zENRPBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 360F1134CA for ; Tue, 25 Oct 2022 04:23:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4LslDNpkV2P7LgAAMHmgww (envelope-from ) for ; Tue, 25 Oct 2022 04:23:54 +0000 Message-ID: <766301d1-6219-c5ac-796b-a3c507912cdd@suse.cz> Date: Tue, 25 Oct 2022 06:23:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH][pushed] i386: fix pedantic warning To: gcc-patches@gcc.gnu.org References: <202210250339.29P3drd42145348@shliclel314.sh.intel.com> Content-Language: en-US In-Reply-To: <202210250339.29P3drd42145348@shliclel314.sh.intel.com> X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747632125654821632?= X-GMAIL-MSGID: =?utf-8?q?1747632125654821632?= Pushed. Sorry for the stupid error, I noticed the test became UNRESOLVED, but I forgot to investigate that. Cheers, Martin PR target/107364 gcc/ChangeLog: * common/config/i386/i386-cpuinfo.h (enum processor_vendor): Fix pedantic warning. --- gcc/common/config/i386/i386-cpuinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/common/config/i386/i386-cpuinfo.h b/gcc/common/config/i386/i386-cpuinfo.h index 586a1a2d0f6..761af2715f0 100644 --- a/gcc/common/config/i386/i386-cpuinfo.h +++ b/gcc/common/config/i386/i386-cpuinfo.h @@ -37,7 +37,7 @@ enum processor_vendor /* Maximum values must be at the end of this enum. */ VENDOR_MAX, - BUILTIN_VENDOR_MAX = VENDOR_OTHER, + BUILTIN_VENDOR_MAX = VENDOR_OTHER }; /* Any new types or subtypes have to be inserted at the end. */