Message ID | 20220228094257.2713189-1-poulhies@adacore.com |
---|---|
State | New |
Headers | show |
Series | testsuite: Check fpic support in pr103275.c | expand |
Marc Poulhiès <poulhies@adacore.com> writes: > Test must check for effective support of fpic. > > Tested on x86_64-pc-linux-gnu{-m32,}. > > ok for master? ping?
On Mon, Mar 28, 2022 at 4:46 PM Marc Poulhiès via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > Marc Poulhiès <poulhies@adacore.com> writes: > > > Test must check for effective support of fpic. > > > > Tested on x86_64-pc-linux-gnu{-m32,}. > > > > ok for master? > > ping? OK
diff --git a/gcc/testsuite/gcc.target/i386/pr103275.c b/gcc/testsuite/gcc.target/i386/pr103275.c index c93413f3cde..efac7b4b24a 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} } } */