[gdb/testsuite] Require have_compile_flag -mavx512f in gdb.arch/i386-avx512.exp
commit8468e03688622f265529699e2efd355a4c122cc6
authorTom de Vries <tdevries@suse.de>
Tue, 29 Aug 2023 15:27:19 +0000 (29 17:27 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 29 Aug 2023 15:27:19 +0000 (29 17:27 +0200)
treefd91adf410ea6f68c42538b032f77699a0948ca7
parent8370a35d4b82da51bfc96f6bb5f6e8227d8b6fea
[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.
gdb/testsuite/gdb.arch/i386-avx512.exp