]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] require profiling support [PR113689]
authorAlexandre Oliva <oliva@adacore.com>
Thu, 30 Jan 2025 22:43:46 +0000 (19:43 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 30 Jan 2025 22:43:46 +0000 (19:43 -0300)
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.

gcc/testsuite/gcc.target/i386/pr113689-1.c
gcc/testsuite/gcc.target/i386/pr113689-2.c
gcc/testsuite/gcc.target/i386/pr113689-3.c

index 0424db2dfdca03c7c7786114547f9dc8a38cf979..0ed911393eeacbadfae40100e585edcfb3050e97 100644 (file)
@@ -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* } } */
 
index 58688b9a387c84bac14d6217f0d5607b978c155b..decc44a44fb56f488120967580eb05174941274d 100644 (file)
@@ -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* } } */
 
index 14c906239f9dbcdceefa79f8bf9b8caf2f4b74ac..a904feec13f04f3fcb90316ad410ace079a72c15 100644 (file)
@@ -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* } } */