]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386/testsuite: Do not append AVX10.2 option for check_effective_target
authorHaochen Jiang <haochen.jiang@intel.com>
Fri, 22 Nov 2024 06:32:16 +0000 (14:32 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Mon, 25 Nov 2024 02:54:15 +0000 (10:54 +0800)
commit832e963a477268e023b0fae4e8c59d29be8e7f42
treea71ac5518e4ba11ca764e98dd94da7f944b9b6c8
parente1ac811d5a724e6714465ad951703d334248bc83
i386/testsuite: Do not append AVX10.2 option for check_effective_target

When -avx10.2 meet -march with AVX512 enabled, it will report warning
for vector size conflict. The warning will prevent the test to run on
GCC with arch native build on those platforms when
check_effective_target.

Remove AVX10.2 options since we are using inline asm ad it actually do
not need options. It will eliminate the warning.

gcc/testsuite/ChangeLog:

* lib/target-supports.exp (check_effective_target_avx10_2):
Remove AVX10.2 option.
(check_effective_target_avx10_2_512): Ditto.
gcc/testsuite/lib/target-supports.exp