public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/PR107364-fix-cpuid-vendor)] x86: fix VENDOR_MAX enum value
@ 2022-10-24 13:40 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-10-24 13:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3bda6ac43c1e56ad57d457ff1dd25ce3e6a6233b

commit 3bda6ac43c1e56ad57d457ff1dd25ce3e6a6233b
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Oct 24 15:34:39 2022 +0200

    x86: fix VENDOR_MAX enum value

Diff:
---
 gcc/common/config/i386/i386-cpuinfo.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gcc/common/config/i386/i386-cpuinfo.h b/gcc/common/config/i386/i386-cpuinfo.h
index 9893fc422bc..586a1a2d0f6 100644
--- a/gcc/common/config/i386/i386-cpuinfo.h
+++ b/gcc/common/config/i386/i386-cpuinfo.h
@@ -34,8 +34,10 @@ enum processor_vendor
   VENDOR_CENTAUR,
   VENDOR_CYRIX,
   VENDOR_NSC,
+
+  /* Maximum values must be at the end of this enum.  */
+  VENDOR_MAX,
   BUILTIN_VENDOR_MAX = VENDOR_OTHER,
-  VENDOR_MAX
 };
 
 /* Any new types or subtypes have to be inserted at the end. */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-24 13:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24 13:40 [gcc(refs/users/marxin/heads/PR107364-fix-cpuid-vendor)] x86: fix VENDOR_MAX enum value Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).