8sa1-gcc/gcc/common/config
Martin Liska 4f00c4d40a i386: fix -march=amd crash
It started with g:3e2ae3ee285a57455d5a23bd352a68c289130186 where
new entry was added to processor_alias_table after generic node:

+  {"amdfam19h", PROCESSOR_GENERIC, CPU_GENERIC, 0,
+    M_CPU_TYPE (AMDFAM19H), P_NONE},

and then the following is violated:

/* NB: processor_alias_table stops at the "generic" entry.  */

gcc/ChangeLog:

	PR target/99753
	* common/config/i386/i386-common.c (ARRAY_SIZE): Fix off-by-one
	error.
	* config/i386/i386-options.c (ix86_option_override_internal):
	Add run-time assert.

gcc/testsuite/ChangeLog:

	PR target/99753
	* gcc.target/i386/pr99753.c: New test.
2021-03-24 20:45:26 +01:00
..
aarch64 Update copyright years. 2021-01-04 10:26:59 +01:00
alpha Update copyright years. 2021-01-04 10:26:59 +01:00
arc Update copyright years. 2021-01-04 10:26:59 +01:00
arm arm: fix bootstrap failure following automatic mode selection patch 2021-03-09 17:02:53 +00:00
avr Update copyright years. 2021-01-04 10:26:59 +01:00
bfin Update copyright years. 2021-01-04 10:26:59 +01:00
bpf Update copyright years. 2021-01-04 10:26:59 +01:00
c6x Update copyright years. 2021-01-04 10:26:59 +01:00
cr16 Update copyright years. 2021-01-04 10:26:59 +01:00
cris Update copyright years. 2021-01-04 10:26:59 +01:00
csky Update copyright years. 2021-01-04 10:26:59 +01:00
epiphany Update copyright years. 2021-01-04 10:26:59 +01:00
fr30 Update copyright years. 2021-01-04 10:26:59 +01:00
frv Update copyright years. 2021-01-04 10:26:59 +01:00
gcn Update copyright years. 2021-01-04 10:26:59 +01:00
h8300 Update copyright years. 2021-01-04 10:26:59 +01:00
i386 i386: fix -march=amd crash 2021-03-24 20:45:26 +01:00
ia64 Update copyright years. 2021-01-04 10:26:59 +01:00
iq2000 Update copyright years. 2021-01-04 10:26:59 +01:00
lm32 Update copyright years. 2021-01-04 10:26:59 +01:00
m32r Update copyright years. 2021-01-04 10:26:59 +01:00
m68k Update copyright years. 2021-01-04 10:26:59 +01:00
mcore Update copyright years. 2021-01-04 10:26:59 +01:00
microblaze Update copyright years. 2021-01-04 10:26:59 +01:00
mips Update copyright years. 2021-01-04 10:26:59 +01:00
mmix Update copyright years. 2021-01-04 10:26:59 +01:00
mn10300 Update copyright years. 2021-01-04 10:26:59 +01:00
msp430 Update copyright years. 2021-01-04 10:26:59 +01:00
nds32 Update copyright years. 2021-01-04 10:26:59 +01:00
nios2 Update copyright years. 2021-01-04 10:26:59 +01:00
nvptx Update copyright years. 2021-01-04 10:26:59 +01:00
or1k Update copyright years. 2021-01-04 10:26:59 +01:00
pa Update copyright years. 2021-01-04 10:26:59 +01:00
pdp11 Update copyright years. 2021-01-04 10:26:59 +01:00
pru Update copyright years. 2021-01-04 10:26:59 +01:00
riscv RISC-V: Add riscv{32,64}be with big endian as default 2021-03-23 17:31:13 +08:00
rs6000 Update copyright years. 2021-01-04 10:26:59 +01:00
rx Update copyright years. 2021-01-04 10:26:59 +01:00
s390 IBM Z: arch14: Add command line options 2021-03-02 11:58:31 +01:00
sh Update copyright years. 2021-01-04 10:26:59 +01:00
sparc Update copyright years. 2021-01-04 10:26:59 +01:00
tilegx Update copyright years. 2021-01-04 10:26:59 +01:00
tilepro Update copyright years. 2021-01-04 10:26:59 +01:00
v850 Update copyright years. 2021-01-04 10:26:59 +01:00
vax Update copyright years. 2021-01-04 10:26:59 +01:00
visium Update copyright years. 2021-01-04 10:26:59 +01:00
xstormy16 Update copyright years. 2021-01-04 10:26:59 +01:00
xtensa Update copyright years. 2021-01-04 10:26:59 +01:00
default-common.c Update copyright years. 2021-01-04 10:26:59 +01:00