public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] require profiling for -pg
@ 2023-05-23  4:01 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2023-05-23  4:01 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7906d4ba93d4cb16d01435e53319f167cef404bd

commit 7906d4ba93d4cb16d01435e53319f167cef404bd
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Mon May 22 22:36:12 2023 -0300

    [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: Likewise.
    
    TN: W519-016

Diff:
---
 gcc/testsuite/gcc.target/i386/mcount_pic.c | 1 +
 gcc/testsuite/gcc.target/i386/pr104447.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gcc/testsuite/gcc.target/i386/mcount_pic.c b/gcc/testsuite/gcc.target/i386/mcount_pic.c
index 5546933d194..732be66b7b3 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 bf11e8696e6..cb618c7b8bb 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-23  4:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23  4:01 [gcc(refs/users/aoliva/heads/testme)] [testsuite] require profiling for -pg Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).