testsuite: Check fpic support in pr103275.c
authorMarc Poulhiès <poulhies@adacore.com>
Mon, 21 Feb 2022 10:54:28 +0000 (10:54 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 29 Mar 2022 08:36:36 +0000 (10:36 +0200)
Test must check for effective support of fpic.

gcc/testsuite/ChangeLog:
* gcc.target/i386/pr103275.c: Add missing
dg-require-effective-target for checking fpic.

gcc/testsuite/gcc.target/i386/pr103275.c

index c93413f3cded7095a547ca1e497f6bd936ed8248..efac7b4b24acdfaff81cbc4d0e5a04844d731998 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile { target ia32 } }  */
+/* { dg-require-effective-target fpic } */
 /* { dg-options "-O2 -march=tigerlake -fPIC" } */
 /* { dg-final { scan-assembler-not {(?n)kmovd.*@gotntpoff} } }  */