[gdb/testsuite] Require have_compile_flag -mavx512f in gdb.arch/i386-avx512.exp

When running test-case gdb.arch/i386-avx512.exp with gcc 4.8.4, I run into:
...
Running gdb.arch/i386-avx512.exp ...
gdb compile failed, gcc: error: unrecognized command line option '-mavx512f'
...

Fix this by requiring have_compile_flag -mavx512f.

Tested on x86_64-linux.
This commit is contained in:
Tom de Vries 2023-08-29 17:27:19 +02:00
parent 8370a35d4b
commit 8468e03688

View File

@ -20,6 +20,7 @@
require {is_any_target i?86-*-* x86_64-*-*}
require {have_compile_flag -mavx512f}
standard_testfile