From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 79D1D38582BE; Tue, 25 Oct 2022 04:25:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79D1D38582BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666671914; bh=IM1uqsTTe832nqTUqbsRryWW1nQOFHCGmcqz2ynYv2Q=; h=From:To:Subject:Date:From; b=x6LWr1lXHWhStVoOBA6FWs37iaBT975aaYAC5XVvWafIPZp5ffBwihbDNyEY4BMMb P4C6guOi33IER/6Zv0J8WmdX3u7TNdUO55ClbPcW91978keP0kMN/85/hlqbv9cJbU CyyLqDtE+JTfUYuhxZPFI3SLnKWBIla3ud8Esgg8= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-8864] i386: fix pedantic warning X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: 4db0753959dc7aeff567c689be6c4eb611aea8ee X-Git-Newrev: 2a2093a9d40b5bc97b970fca9c02ff64056f3ed0 Message-Id: <20221025042514.79D1D38582BE@sourceware.org> Date: Tue, 25 Oct 2022 04:25:14 +0000 (GMT) List-Id: https://gcc.gnu.org/g:2a2093a9d40b5bc97b970fca9c02ff64056f3ed0 commit r12-8864-g2a2093a9d40b5bc97b970fca9c02ff64056f3ed0 Author: Martin Liska Date: Tue Oct 25 06:16:03 2022 +0200 i386: fix pedantic warning PR target/107364 gcc/ChangeLog: * common/config/i386/i386-cpuinfo.h (enum processor_vendor): Fix pedantic warning. (cherry picked from commit f3f000b7689ce9eb6364808072025672af1e4e1b) Diff: --- 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 0f12024141c..12830a610ca 100644 --- a/gcc/common/config/i386/i386-cpuinfo.h +++ b/gcc/common/config/i386/i386-cpuinfo.h @@ -36,7 +36,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. */