diff options
author | Martin Liska <mliska@suse.cz> | 2022-10-24 15:34:39 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-10-24 20:26:44 +0200 |
commit | f751bf4c5d1aaa1aacfcbdec62881c5ea1175dfb (patch) | |
tree | 2b7ee389382629cddce0b8d62d696c5516730d94 /gcc/common | |
parent | f7d8ccfda2d5c90dac97b1a3ede8b10391a3cc40 (diff) | |
download | gcc-f751bf4c5d1aaa1aacfcbdec62881c5ea1175dfb.zip gcc-f751bf4c5d1aaa1aacfcbdec62881c5ea1175dfb.tar.gz gcc-f751bf4c5d1aaa1aacfcbdec62881c5ea1175dfb.tar.bz2 |
x86: fix VENDOR_MAX enum value
PR target/107364
gcc/ChangeLog:
* common/config/i386/i386-cpuinfo.h (enum processor_vendor):
Reorder enum values as BUILTIN_VENDOR_MAX should not point
in the middle of the valid enum values.
Diffstat (limited to 'gcc/common')
-rw-r--r-- | gcc/common/config/i386/i386-cpuinfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/common/config/i386/i386-cpuinfo.h b/gcc/common/config/i386/i386-cpuinfo.h index 9893fc4..586a1a2 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. */ |