arm: testsuite: improve compatibility of gcc.target/arm/pr59575.c
Use dg-require-effective-target/dg-add-options to improve compatibility of this test with various compiler configurations. gcc/testsuite: * gcc.target/arm/pr59575.c: Use dg-require-effective-target and dg-add-options.
This commit is contained in:
parent
cf86e67b15
commit
47b3f2c84d
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
/* PR target/59575 */
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_arch_v7a_ok } */
|
||||
/* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */
|
||||
/* { dg-options "-Os -g -march=armv7-a" } */
|
||||
/* { dg-options "-Os -g" } */
|
||||
/* { dg-add-options arm_arch_v7a } */
|
||||
|
||||
void foo (int *);
|
||||
int *bar (int, long long, int);
|
||||
|
|
Loading…
Add table
Reference in a new issue