]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] [aarch64] Require fpic effective target.
authorAlexandre Oliva <oliva@adacore.com>
Thu, 18 Apr 2024 11:01:32 +0000 (08:01 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 18 Apr 2024 11:11:48 +0000 (08:11 -0300)
Co-authored-by: Olivier Hainque <hainque@adacore.com>
for  gcc/testsuite/ChangeLog

* gcc.target/aarch64/pr94201.c: Add missing
dg-require-effective-target fpic.
* gcc.target/aarch64/pr103085.c: Likewise.

gcc/testsuite/gcc.target/aarch64/pr103085.c
gcc/testsuite/gcc.target/aarch64/pr94201.c

index dbc9c15b71f224b3c7dec0cca5655a31adc207f6..347280ed42b2dc250914a1324eeca28365455b88 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -fstack-protector-strong -fPIC" } */
+/* { dg-require-effective-target fpic } */
 
 void g(int*);
 void
index 691761691868a15e0e53e2340577d02a2b87a24c..3b9b79059e02b21c652726abb86d124274b6547c 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-mcmodel=tiny -mabi=ilp32 -fPIC" } */
+/* { dg-require-effective-target fpic } */
 
 extern int bar (void *);
 extern long long a;