Add dg-require-effective-target fpic to gcc.dg test
The test uses -fpic and doesn't query the target support for that option otherwise, resulting in failure on configurations not supporting -fpic such as VxWorks for kernel mode. 2020-11-03 Olivier Hainque <hainque@adacore.com> gcc/testsuite/ * gcc.dg/sms-12.c: Add dg-require-effective-target fpic.
This commit is contained in:
parent
5773855c3f
commit
8f027412f6
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-skip-if "" { ! { aarch64*-*-* } } } */
|
||||
/* { dg-require-effective-target fpic } */
|
||||
/* { dg-options "-O2 -fmodulo-sched -funroll-loops -fdump-rtl-sms --param sms-min-sc=1 -fmodulo-sched-allow-regmoves -fPIC" } */
|
||||
|
||||
extern void abort (void);
|
||||
|
|
Loading…
Add table
Reference in a new issue