Hi Yuri,

> diff -rupN gcc/gcc/testsuite/gcc.dg/pr56727-1.c 
> gcc-56727/gcc/testsuite/gcc.dg/pr56727-1.c
> --- gcc/gcc/testsuite/gcc.dg/pr56727-1.c      1970-01-01 01:00:00.000000000 
> +0100
> +++ gcc-56727/gcc/testsuite/gcc.dg/pr56727-1.c        2017-07-01 
> 21:36:36.000000000 +0200
> @@ -0,0 +1,23 @@
> +/* { dg-do compile } */
> +/* { dg-options "-O2 -fPIC" } */

both tests need to be restricted to target fpic...

> +/* { dg-final { scan-assembler-not "@PLT" } } */

... and @PLT won't work everywhere, either.  Judging from gcc/config, it
will be i386/x86_64 (except darwin), microblaze, mn10300, s390, sh, and
xtensa at most.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to