diff options
author | Alexandre Oliva <oliva@adacore.com> | 2025-01-30 19:43:46 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2025-01-30 19:43:46 -0300 |
commit | dd5978b2f0087579c25486f97e578c9eb76f3449 (patch) | |
tree | f31cb6099236e549e775a0128e9644a2b04c8f83 /gcc | |
parent | 2ca288d32b3e88362db1584a7bf0a2eeab6e5c3c (diff) | |
download | gcc-dd5978b2f0087579c25486f97e578c9eb76f3449.zip gcc-dd5978b2f0087579c25486f97e578c9eb76f3449.tar.gz gcc-dd5978b2f0087579c25486f97e578c9eb76f3449.tar.bz2 |
[testsuite] require profiling support [PR113689]
pr113689 testcases use -fprofile without testing for profiling
support. Fix them.
for gcc/testsuite/ChangeLog
PR target/113689
* gcc.target/i386/pr113689-1.c: Require profiling support.
* gcc.target/i386/pr113689-2.c: Likewise.
* gcc.target/i386/pr113689-3.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr113689-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr113689-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr113689-3.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr113689-1.c b/gcc/testsuite/gcc.target/i386/pr113689-1.c index 0424db2..0ed9113 100644 --- a/gcc/testsuite/gcc.target/i386/pr113689-1.c +++ b/gcc/testsuite/gcc.target/i386/pr113689-1.c @@ -1,5 +1,6 @@ /* { dg-do run { target { lp64 && fpic } } } */ /* { dg-options "-O2 -fno-pic -no-pie -fprofile -mcmodel=large" } */ +/* { dg-require-profiling "-fprofile" } */ /* { dg-skip-if "PR90698" { *-*-darwin* } } */ /* { dg-skip-if "PR113909" { *-*-solaris2* } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr113689-2.c b/gcc/testsuite/gcc.target/i386/pr113689-2.c index 58688b9..decc44a 100644 --- a/gcc/testsuite/gcc.target/i386/pr113689-2.c +++ b/gcc/testsuite/gcc.target/i386/pr113689-2.c @@ -1,5 +1,6 @@ /* { dg-do run { target { lp64 && fpic } } } */ /* { dg-options "-O2 -fpic -fprofile -mcmodel=large" } */ +/* { dg-require-profiling "-fprofile" } */ /* { dg-skip-if "PR90698" { *-*-darwin* } } */ /* { dg-skip-if "PR113909" { *-*-solaris2* } } */ diff --git a/gcc/testsuite/gcc.target/i386/pr113689-3.c b/gcc/testsuite/gcc.target/i386/pr113689-3.c index 14c9062..a904fee 100644 --- a/gcc/testsuite/gcc.target/i386/pr113689-3.c +++ b/gcc/testsuite/gcc.target/i386/pr113689-3.c @@ -1,5 +1,6 @@ /* { dg-do run { target { lp64 && fpic } } } */ /* { dg-options "-O2 -fpic -fprofile -mcmodel=large" } */ +/* { dg-require-profiling "-fprofile" } */ /* { dg-skip-if "PR90698" { *-*-darwin* } } */ /* { dg-skip-if "PR113909" { *-*-solaris2* } } */ |