projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8370a35
)
[gdb/testsuite] Require have_compile_flag -mavx512f in gdb.arch/i386-avx512.exp
author
Tom de Vries
<tdevries@suse.de>
Tue, 29 Aug 2023 15:27:19 +0000
(17:27 +0200)
committer
Tom de Vries
<tdevries@suse.de>
Tue, 29 Aug 2023 15:27:19 +0000
(17:27 +0200)
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
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.arch/i386-avx512.exp
b/gdb/testsuite/gdb.arch/i386-avx512.exp
index 0c50591dcbe2f549e66b760e51e749cfb5e83d96..758bdacc3a5b744702bae39793b0ea4d3e68552e 100644
(file)
--- a/
gdb/testsuite/gdb.arch/i386-avx512.exp
+++ b/
gdb/testsuite/gdb.arch/i386-avx512.exp
@@
-20,6
+20,7
@@
require {is_any_target i?86-*-* x86_64-*-*}
+require {have_compile_flag -mavx512f}
standard_testfile