diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-04-28 04:29:54 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-04-28 04:29:54 -0300 |
commit | 05d83334d5bbeae01d71080f1da524810d6740d9 (patch) | |
tree | 53751056539c0a94a7595f99e5476ccf868a6720 /gcc/tree-vect-loop.cc | |
parent | 83bc41e8364360b63eaa59c88e2fb499a6751233 (diff) | |
download | gcc-05d83334d5bbeae01d71080f1da524810d6740d9.zip gcc-05d83334d5bbeae01d71080f1da524810d6740d9.tar.gz gcc-05d83334d5bbeae01d71080f1da524810d6740d9.tar.bz2 |
decay vect tests from run to link for pr95401
When vect.exp finds our configuration disables altivec by default, it
disables the execution of vectorization tests, assuming the test
hardware doesn't support it.
Tests become just compile tests, but compile tests won't work
correctly when additional sources are named, e.g. pr95401.cc, because
GCC refuses to compile multiple files into the same asm output.
With this patch, the default for when execution is not possible
becomes link.
for gcc/testsuite/ChangeLog
* lib/target-supports.exp (check_vect_support_and_set_flags):
Decay to link rather than compile.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions