public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6050] Add -mdejagnu-cpu=power7 to dg-options for pr97142.c
@ 2021-12-17 18:10 Olivier Hainque
  0 siblings, 0 replies; only message in thread
From: Olivier Hainque @ 2021-12-17 18:10 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d7ca2a79b82c6500ead6ab983d14c609e2124eee

commit r12-6050-gd7ca2a79b82c6500ead6ab983d14c609e2124eee
Author: Olivier Hainque <hainque@adacore.com>
Date:   Sat Oct 9 13:22:12 2021 +0000

    Add -mdejagnu-cpu=power7 to dg-options for pr97142.c
    
    To match the tests expectations for toolchains
    configured to default to not so capable cpus.
    
    2021-12-17  Olivier Hainque  <hainque@adacore.com>
    
    gcc/testsuite/
            * gcc.target/powerpc/pr97142.c: Add -mdejagnu-cpu=power7
            to the dg-options.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/pr97142.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/powerpc/pr97142.c b/gcc/testsuite/gcc.target/powerpc/pr97142.c
index 0e5f1c1f61b..dd10b065134 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr97142.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr97142.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-Ofast" } */
+/* { dg-options "-Ofast -mdejagnu-cpu=power7" } */
 
 #include <math.h>


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

only message in thread, other threads:[~2021-12-17 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 18:10 [gcc r12-6050] Add -mdejagnu-cpu=power7 to dg-options for pr97142.c Olivier Hainque

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).