From: Marc Poulhiès Date: Mon, 21 Feb 2022 10:54:28 +0000 (+0000) Subject: testsuite: Check fpic support in pr103275.c X-Git-Tag: basepoints/gcc-13~441 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35464c790382b0ed53c6fd5cc07855b0d3644ab9;p=thirdparty%2Fgcc.git testsuite: Check fpic support in pr103275.c 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. --- diff --git a/gcc/testsuite/gcc.target/i386/pr103275.c b/gcc/testsuite/gcc.target/i386/pr103275.c index c93413f3cded..efac7b4b24ac 100644 --- a/gcc/testsuite/gcc.target/i386/pr103275.c +++ b/gcc/testsuite/gcc.target/i386/pr103275.c @@ -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} } } */