From patchwork Tue Jan 23 14:42:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 190982 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp380201dyi; Tue, 23 Jan 2024 06:43:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhH0dFUKlOtPtBMdD+Jr6bcYf0N31lJzk08gQCcDsfvxZTJA05KEk2nf8UPxTJiH8U3uT3 X-Received: by 2002:ac8:5790:0:b0:429:9e31:8344 with SMTP id v16-20020ac85790000000b004299e318344mr901939qta.118.1706021002038; Tue, 23 Jan 2024 06:43:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706021002; cv=pass; d=google.com; s=arc-20160816; b=JDsrpAXDjvac1NM7Xmykq6wSw8A6AnkjZ2jPiaFjgCN/X6H7qPsuV4kPCZXRm77DOF 341/b9B9to8JxDVEJheXUQtG4rw3pPqT0zZGkO80B1fV4jDoqKkOAGgS7Ok92zC8lLQi 7aqe3dJ89lOh2MaCDHYuWwvARhtCmIkY7p2+IRlONpNZZ3RHhvlvrYqUbe9hzTg/CM1/ RcFL2C0Vk+ob4gDT/caMDLNEEd2dCFnPztnZ5wY8GVa2+CPMRxb0fR8kqQSEri2SHVR1 z6JPqOqjxl/Lhux5g+cnuVoI/bikwJ1sMPWZTNfaCQdGRKH2zT0nl36E4PlAIdIkRIgF BsEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=7IdYkJ9c3LFie0/7/AuJMW+ARB/VAnXyBKzyp8bLsis=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=ez9USnPYpGamh/wHwM0hDoGzMzsYZRRKOqigmPoKjNjMPDROALoILVmiEGARBMOWE2 PPHubqYGgaU/9/iBt+jiLE1LhL3HyfsqG/GqzAefM47YcjQQnL+nY73D2XxHSjN1ZB/g bJzHmRlwamoQ1puQ8W3U6q4hOyJCnciKZ/UNDkhzj1FnSZHWT52lNEgt9OFiWtFyohaI k8tp/ANZwqWcOEmb9b9THyIrS4s8XZfr9gi4xUlA0iddh4j/sAz/oHQ851Y4JAMBg1RZ Ue0p8vQ509I/QkLD/XM3anK7PBy2ELtKM6hsqpcpfXdhmaXBgH+jpoXb3NvMbsJJ0ULv BqnQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OYdQDT2T; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id a17-20020ac85b91000000b0042a3274a190si6867296qta.627.2024.01.23.06.43.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 06:43:22 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OYdQDT2T; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B5E62385841E for ; Tue, 23 Jan 2024 14:43:21 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id DBE87385842D for ; Tue, 23 Jan 2024 14:42:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DBE87385842D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DBE87385842D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::42b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706020959; cv=none; b=t0qrl40OSL9ZupN8UFFAnFAGWbRNYT+tCMs3ud+IvrgdPyDjTxOlKlTLhrobiuH82et41XmTt2jg9KJD7RXaDSUtYccrHjVER3nc9lBkzyoq5ndd2EzGdVbgFPffyCvM338iVCyUtCFwyWW2HMeUc18PBg0zWaSD1lQXuXOEEIM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706020959; c=relaxed/simple; bh=FLc2k6xEUBa8wJ5Gu8eWddKfcn5jIeelm227lCAAMQI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=xBnBzfsW7J3OZ4+uWkFJwfPVEUBWYvMb8n4zJSt6zVm/D7wZmd8Qnd+shEMI6eOeoWz0ZE3Ah/2rpadMTV2bidZVShvRxma8NlNihtacejOYQ5hCyxgnLCzhLYzlMeLVNOLTnzeQU0ZQlNeXPjcROjSsakBVd1oSEM84wCzBFEw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6dd85328325so149303b3a.1 for ; Tue, 23 Jan 2024 06:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706020956; x=1706625756; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=7IdYkJ9c3LFie0/7/AuJMW+ARB/VAnXyBKzyp8bLsis=; b=OYdQDT2TuecSvGpqLxF8++00sOXgEZdfiXvpCevXWMh9zv8sOVJk8XKOEPhSujyHdU dWNGziYLBMBrGyh9Ted5MmxpbQast6lApct3bvFHrAECrwz0iDRithfeRay4byrtKZB1 RZnCwxrtGjgvdCK7OsYy2Dv3rkLYpstIJFi0XcSZkjGEyXLfBZnBcal1mvuXt3uF8OXo UcVZ30anJCKTIK739hhubfq6FRJujFy6M6CpW53/MPlGJNWhoXXgGjH3DSRr7ra2ZT/F lJQbI+Dr6EMwq5MPdFzZdttrldb/BZpMDqMp4zG2p8cq6cPIqPkWt11qdyvB0YkRl2nb vq2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706020956; x=1706625756; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7IdYkJ9c3LFie0/7/AuJMW+ARB/VAnXyBKzyp8bLsis=; b=KjsHkbYBNk/16vTuhfAplqutDPSLhaKnAya0RFyv071vu99SwlySc/8vAyW94CtRz9 Vc4emo9uTHhNHqa1IEUbeGkHtCnQ5I4L/c+MMeLe3M7OvoUdA769hScamUgT5OxsE0uo Oah4RNP7xZ8w/6FB6Z8/d7TxRm8JSFDUheqdHlrmwMJnrzUkslT/Fzf70x/8k/7eiOZ/ m+/s5RDATduAnNFpgM+wJLX2NFmferDeKojLug01uhuw2z8TzAeGFQzz4X31CxkXwjTr 8y2lVPGYi81F/piO6rA2QLF+SZE81l/HncALOKrJRyg30J9nk/+jElcc8U5V0MrUXemK 2IkA== X-Gm-Message-State: AOJu0YzUr9C1yP7JeICs7QP7lenF2e1+BqiPWzvscceDaQKp4HCDrE/U /za9GQHqPkatY5cUGC3KksjkqTWVqNEU3WPOWxWoPPI8sORGwpsGh7vyLYaB X-Received: by 2002:a05:6a00:8ce:b0:6d9:b4a7:695a with SMTP id s14-20020a056a0008ce00b006d9b4a7695amr9755577pfu.16.1706020956480; Tue, 23 Jan 2024 06:42:36 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.168.9]) by smtp.gmail.com with ESMTPSA id fd37-20020a056a002ea500b006dbe4452741sm3500741pfb.72.2024.01.23.06.42.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 06:42:36 -0800 (PST) From: "H.J. Lu <>" X-Google-Original-From: "H.J. Lu" <(no_default)> Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id B4C217402E6 for ; Tue, 23 Jan 2024 06:42:34 -0800 (PST) To: gcc-patches@gcc.gnu.org Subject: [PATCH] gcc.dg/torture/pr113255.c: Fix ia32 test failure Date: Tue, 23 Jan 2024 06:42:34 -0800 Message-ID: <20240123144234.2092090-1-user@gnu-cfl-3> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3024.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_NO_USER, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788892678190726014 X-GMAIL-MSGID: 1788892678190726014 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. --- 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];