From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id E99B73858C50; Tue, 23 Jan 2024 14:38:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E99B73858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706020718; bh=S+LEBN0ZqGiIyDwYqkWsZEmoOsvp0QEK+Y9fw2bk5qE=; h=From:To:Subject:Date:From; b=xW8gx4BRduqCi2MRTmFh8cLha8DcDfkdyJad1fLnp+IOIwoqsh1J656igF2Mog+xh hBIx/Ucn9zMAWG/sWKijdco9Zj9x7HIsEhIYlDCTLTM0ffmDU7hQUVvLP8gKsplHVI oHBnW4qmkloLssXPdH3WZNsD5KblvNPxhEP5pxkE= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: H.J. Lu To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8363] gcc.dg/torture/pr113255.c: Fix ia32 test failure X-Act-Checkin: gcc X-Git-Author: H.J. Lu <(no_default)> X-Git-Refname: refs/heads/master X-Git-Oldrev: 2bdf138a0d0141065fa9a8efa2ff86f211888a59 X-Git-Newrev: 3936c8709c25c8bc72be0c1b2cc3ae7a25dc90ec Message-Id: <20240123143838.E99B73858C50@sourceware.org> Date: Tue, 23 Jan 2024 14:38:38 +0000 (GMT) List-Id: 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];