diff options
author | Alexandre Oliva <oliva@adacore.com> | 2023-05-24 03:07:52 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2023-05-24 23:41:12 -0300 |
commit | 03a3736f9ed219bdb886ccf96e28307718f3ceba (patch) | |
tree | a850b8910f8315e77c81ddffa305f4af22ae74a4 | |
parent | bf3925d6af6939862e064a0017879d3ddbec79c7 (diff) | |
download | gcc-03a3736f9ed219bdb886ccf96e28307718f3ceba.zip gcc-03a3736f9ed219bdb886ccf96e28307718f3ceba.tar.gz gcc-03a3736f9ed219bdb886ccf96e28307718f3ceba.tar.bz2 |
[testsuite] require profiling for -pg
Fix two tests that use -pg but don't declare their requirement for
profiling support.
for gcc/testsuite/ChangeLog
* gcc.target/i386/mcount_pic.c: Add dg-require-profiling.
* gcc.target/i386/pr104447.c: Likewise.
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mcount_pic.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr104447.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mcount_pic.c b/gcc/testsuite/gcc.target/i386/mcount_pic.c index 5546933..732be66 100644 --- a/gcc/testsuite/gcc.target/i386/mcount_pic.c +++ b/gcc/testsuite/gcc.target/i386/mcount_pic.c @@ -3,6 +3,7 @@ /* { dg-do run } */ /* { dg-require-effective-target fpic } */ /* { dg-require-effective-target ia32 } */ +/* { dg-require-profiling "-pg" } */ /* { dg-options "-O2 -fpic -pg -save-temps" } */ int main () diff --git a/gcc/testsuite/gcc.target/i386/pr104447.c b/gcc/testsuite/gcc.target/i386/pr104447.c index bf11e86..cb618c7 100644 --- a/gcc/testsuite/gcc.target/i386/pr104447.c +++ b/gcc/testsuite/gcc.target/i386/pr104447.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-profiling "-pg" } */ /* { dg-options "-O2 -pg" } */ int |