]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] require pic for pr103074.c
authorAlexandre Oliva <oliva@adacore.com>
Wed, 24 May 2023 06:07:47 +0000 (03:07 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 25 May 2023 02:40:52 +0000 (23:40 -0300)
Fix test that uses -fPIC without stating the requirement for PIC
support.

for  gcc/testsuite/ChangeLog

* gcc.target/i386/pr103074.c: Require fpic support.

gcc/testsuite/gcc.target/i386/pr103074.c

index 276ad82a1de1e840711d5062bc6192f77a71aa60..668d9531096dca7b2036787b5d60c4fd8b8be23e 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
 /* { dg-options "-march=bonnell -Os -fPIC -fschedule-insns -w" } */
 
 void