From: H.J. Lu <(no_default)> Date: Tue, 23 Jan 2024 14:34:43 +0000 (-0800) Subject: gcc.dg/torture/pr113255.c: Fix ia32 test failure X-Git-Tag: basepoints/gcc-15~1776 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/gcc.dg/torture/pr113255.c b/gcc/testsuite/gcc.dg/torture/pr113255.c index 2f009524c6bf..78af6a5a5633 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];