public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5008] Testsuite, i386: Fix test by passing -march
@ 2023-10-30 13:24 François-Xavier Coudert
  0 siblings, 0 replies; only message in thread
From: François-Xavier Coudert @ 2023-10-30 13:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5c7bbb0fcd70376d3895716d0ee33291bf4d8aff

commit r14-5008-g5c7bbb0fcd70376d3895716d0ee33291bf4d8aff
Author: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date:   Mon Oct 30 12:50:01 2023 +0100

    Testsuite, i386: Fix test by passing -march
    
    The test currently fails on Darwin, where the default arch is core2.
    
    gcc/testsuite/ChangeLog:
    
            PR target/112287
            * gcc.target/i386/pr111698.c: Pass -march=sandybridge.

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

diff --git a/gcc/testsuite/gcc.target/i386/pr111698.c b/gcc/testsuite/gcc.target/i386/pr111698.c
index 2da6be531a2e..037000716f14 100644
--- a/gcc/testsuite/gcc.target/i386/pr111698.c
+++ b/gcc/testsuite/gcc.target/i386/pr111698.c
@@ -1,5 +1,5 @@
 /* PR target/111698 */
-/* { dg-options "-O2 -masm=att" } */
+/* { dg-options "-O2 -masm=att -march=sandybridge" } */
 /* { dg-final { scan-assembler-not "testl" } }  */
 
 int m;

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

only message in thread, other threads:[~2023-10-30 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-30 13:24 [gcc r14-5008] Testsuite, i386: Fix test by passing -march François-Xavier Coudert

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