]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: fix VENDOR_MAX enum value
authorMartin Liska <mliska@suse.cz>
Mon, 24 Oct 2022 13:34:39 +0000 (15:34 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 25 Oct 2022 03:56:39 +0000 (05:56 +0200)
commit4db0753959dc7aeff567c689be6c4eb611aea8ee
tree6de70df92676c6584055448c3a9e28266d695dc0
parentcd29fc9e6f956e0ea9dc07b561af2515e4c44c65
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.

(cherry picked from commit f751bf4c5d1aaa1aacfcbdec62881c5ea1175dfb)
gcc/common/config/i386/i386-cpuinfo.h