/* { dg-do compile } */
-/* { dg-options "-mdejagnu-cpu=power10 -O2 -mpcrel" } */
+/* { dg-options "-mdejagnu-cpu=power10 -O2" } */
/* { dg-require-effective-target powerpc_elfv2 } */
/* { dg-require-effective-target power10_ok } */
-/* Ensure we generate ".localentry fn,1" for both leaf and non-leaf functions.
- At present, -mcpu=power10 does not enable pc-relative mode, so make sure we
- enable it to be able to check for .localentry. */
+/* Ensure we generate ".localentry fn,1" for both leaf and non-leaf
+ functions. */
extern int y (int);
/* { dg-do compile } */
-/* { dg-options "-mdejagnu-cpu=power10 -O2 -mpcrel" } */
+/* { dg-options "-mdejagnu-cpu=power10 -O2" } */
/* { dg-require-effective-target powerpc_elfv2 } */
/* { dg-require-effective-target power10_ok } */
-/* Test that calls generated from PC-relative code are annotated with @notoc.
- At present, -mcpu=power10 does not enable pc-relative mode. Enable it here
- explicitly until it is turned on by default. */
+/* Test that calls generated from PC-relative code are annotated with
+ @notoc. */
extern int yy0 (int);
extern void yy1 (int);
/* { dg-final { scan-assembler {yy0@notoc} } } */
/* { dg-final { scan-assembler {zz1@notoc} } } */
/* { dg-final { scan-assembler {zz0@notoc} } } */
-
/* PR rtl-optimization/94740 */
/* { dg-do compile } */
/* { dg-require-effective-target power10_ok } */
-/* { dg-options "-O2 -mdejagnu-cpu=power10 -mpcrel" } */
+/* { dg-options "-O2 -mdejagnu-cpu=power10" } */
int array[8];
int