diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-10-12 13:28:20 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-10-12 13:29:54 +0000 |
commit | 7e7352b2ad089ea68d689f3b79d93e3ee26326f7 (patch) | |
tree | 761affc829c2a2744e71a757a1dc9903204c7a36 /gcc/tree-vectorizer.h | |
parent | bd28b730cf35dbeeb2b26aa17397163bbbb0ca9e (diff) | |
download | gcc-7e7352b2ad089ea68d689f3b79d93e3ee26326f7.zip gcc-7e7352b2ad089ea68d689f3b79d93e3ee26326f7.tar.gz gcc-7e7352b2ad089ea68d689f3b79d93e3ee26326f7.tar.bz2 |
arm: Use E_FOOmode instead of FOOmode in arm_preferred_simd_mode
gcc-4.8.5 does not accept case clauses with non-literal type, which
happens for "QImode" as it expands to (scalar_int_mode
((scalar_int_mode::from_int) E_QImode)).
Use E_QImode instead in arm_preferred_simd_mode, to fix the
build. Same for HImode, SImode, HFmode and SFmode as introduced by a
recent patch.
2020-10-12 Christophe Lyon <christophe.lyon@linaro.org>
gcc/
* config/arm/arm.c (arm_preferred_simd_mode): Use E_FOOmode
instead of FOOmode.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions