diff options
author | Haochen Jiang <haochen.jiang@intel.com> | 2025-02-10 16:53:27 +0800 |
---|---|---|
committer | Haochen Jiang <haochen.jiang@intel.com> | 2025-02-17 11:01:36 +0800 |
commit | e15216046dba02ffa1c3ae367cdc86d5fd3df0be (patch) | |
tree | bd78a27c8e4ad592ee64b23a8ad7e2f9b577edcf /gcc/fortran | |
parent | ae14d7d04da8c6cb542269722638071f999f94d8 (diff) | |
download | gcc-e15216046dba02ffa1c3ae367cdc86d5fd3df0be.zip gcc-e15216046dba02ffa1c3ae367cdc86d5fd3df0be.tar.gz gcc-e15216046dba02ffa1c3ae367cdc86d5fd3df0be.tar.bz2 |
i386: Do not check vector size conflict when AVX512 is not explicitly set [PR 118815]
When AVX512 is not explicitly set, we should not take EVEX512 bit into
consideration when checking vector size. It will solve the intrin header
file reporting warnings when compiling with -Wsystem-headers.
However, there is side effect on the usage for '-march=xxx -mavx10.1-256',
where xxx is with AVX512. It will not report warning on vector size for now.
Since it is a rare usage, we will take it.
gcc/ChangeLog:
PR target/118815
* config/i386/i386-options.cc (ix86_option_override_internal):
Do not check vector size conflict when AVX512 is not explicitly
set.
gcc/testsuite/ChangeLog:
PR target/118815
* gcc.target/i386/pr118815.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions