public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8363] gcc.dg/torture/pr113255.c: Fix ia32 test failure
@ 2024-01-23 14:38 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-01-23 14:38 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec

commit r14-8363-g3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec
Author: H.J. Lu <(no_default)>
Date:   Tue Jan 23 06:34:43 2024 -0800

    gcc.dg/torture/pr113255.c: Fix ia32 test failure
    
    Fix ia32 test failure:
    
    FAIL: gcc.dg/torture/pr113255.c   -O1  (test for excess errors)
    Excess errors:
    cc1: error: '-mstringop-strategy=rep_8byte' not supported for 32-bit code
    
            PR rtl-optimization/113255
            * gcc.dg/torture/pr113255.c (dg-additional-options): Add only
            if not ia32.

Diff:
---
 gcc/testsuite/gcc.dg/torture/pr113255.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/torture/pr113255.c b/gcc/testsuite/gcc.dg/torture/pr113255.c
index 2f009524c6b..78af6a5a563 100644
--- a/gcc/testsuite/gcc.dg/torture/pr113255.c
+++ b/gcc/testsuite/gcc.dg/torture/pr113255.c
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-additional-options "-mtune=k8 -mstringop-strategy=rep_8byte" { target { x86_64-*-* i?86-*-* } } } */
+/* { dg-additional-options "-mtune=k8 -mstringop-strategy=rep_8byte" { target { { i?86-*-* x86_64-*-* } && { ! ia32 } } } } */
 
 struct S { unsigned a[10]; unsigned y; unsigned b[6]; } g[2];

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

only message in thread, other threads:[~2024-01-23 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-23 14:38 [gcc r14-8363] gcc.dg/torture/pr113255.c: Fix ia32 test failure H.J. Lu

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