/* { dg-do compile { target powerpc_fprs } } */
/* { dg-options "-O2 -fpic -mdejagnu-cpu=power5" } */
+/* { dg-require-effective-target fpic } */
double foo (double x) {
return x + 1.75;
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_eabi_ok } */
/* { dg-options "-meabi -mrelocatable" } */
+/* { dg-require-effective-target fpic } */
+
char *s = "boo";
/* { dg-do compile { target { powerpc*-*-darwin* powerpc*-*-aix* rs6000-*-* powerpc*-*-linux* } } } */
/* { dg-options "-O2 -mlong-double-128 -fpic" } */
+/* { dg-require-effective-target fpic } */
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned char uint8_t;
/* { dg-do assemble } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -msecure-plt -fPIC" } */
+/* { dg-require-effective-target fpic } */
/* { dg-skip-if "" { powerpc*-*-darwin* powerpc-ibm-aix* } } */
#define FE_TONEAREST 0
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
/* { dg-options "-O2 -fpic -fno-reorder-blocks -fno-inline-functions -mno-pcrel" } */
+/* { dg-require-effective-target fpic } */
/* On the Linux 64-bit ABIs, we eliminate NOP in the 'rec' call even if
-fpic is used. The recursive call should call the local alias. The
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
/* { dg-options "-O2 -fpic -fno-reorder-blocks -mno-pcrel" } */
+/* { dg-require-effective-target fpic } */
/* On the Linux 64-bit ABIs, we should not eliminate NOP in the 'rec' call if
-fpic is used because rec can be interposed at link time (since it has an
/* { dg-do compile { target { powerpc-*-linux* && ilp32 } } } */
/* { dg-options "-O2 -fpic -fno-reorder-blocks" } */
+/* { dg-require-effective-target fpic } */
/* Analog of pr79439-1.c for 32-bit Linux. */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fPIC -frename-registers --param=sched-autopref-queue-depth=0 -mdejagnu-cpu=603" } */
+/* { dg-require-effective-target fpic } */
extern void bar (void *);
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-mdejagnu-cpu=power8 -O3 -fstack-protector-strong -fpic" } */
+/* { dg-require-effective-target fpic } */
char *b;
int c, d, e, f;