Add missing { dg-require-effective-target fpic } directives to aarch64 tests
Olivier Hainque
hainque@adacore.com
Wed Jan 8 16:14:00 GMT 2020
Hello,
This patch adds missing { dg-require-effective-target fpic }
directives to aarch64 tests using -fpic or -fPIC explicitly.
This prevents spurious test failures on configurations not
supporting the options, such as VxWorks for at least kernel
mode on any target.
Committing to trunk after regtest on aarch64-linux, based on
the pre-approval agreed upon there:
https://gcc.gnu.org/ml/gcc-patches/2019-12/msg01122.html
We have a few patches doing a similar thing for other
target test sets or for common tests, which we'll post
separately (and I presume will call for separate approvals,
so we'll probably defer until next stage1).
Thanks!
With Kind Regards,
Olivier
2020-01-08 Joel Brobecker <brobecker@adacore.com>
Olivier Hainque <hainque@adacore.com>
testsuite/
* g++.target/aarch64/sve/tls_2.C: Add missing
{ dg-require-effective-target fpic } directive.
* gcc.target/aarch64/noplt_2.c: Likewise.
* gcc.target/aarch64/noplt_3.c: Likewise.
* gcc.target/aarch64/pic-constantpool1.c: Likewise.
* gcc.target/aarch64/pic-small.c: Likewise.
* gcc.target/aarch64/pic-symrefplus.c: Likewise.
* gcc.target/aarch64/pr66912.c: Likewise.
* gcc.target/aarch64/sve/tls_1.c: Likewise.
* gcc.target/aarch64/sve/tls_preserve_1.c: Likewise.
* gcc.target/aarch64/sve/tls_preserve_2.c: Likewise.
* gcc.target/aarch64/sve/tls_preserve_3.c: Likewise.
* gcc.target/aarch64/tlsie_tiny_1.c: Likewise.
* gcc.target/aarch64/tlsle12_1.c: Likewise.
* gcc.target/aarch64/tlsle12_tiny_1.c: Likewise.
* gcc.target/aarch64/tlsle24_1.c: Likewise.
* gcc.target/aarch64/tlsle24_tiny_1.c: Likewise.
* gcc.target/aarch64/tlsle32_1.c: Likewise.
* gcc.target/aarch64/tlsle_sizeadj_small_1.c: Likewise.
* gcc.target/aarch64/tlsle_sizeadj_tiny_1.c: Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testsuite-aarch64-fpic.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20200108/56c5fb38/attachment.txt>
More information about the Gcc-patches
mailing list