From patchwork Tue Jun 11 14:53:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2" X-Patchwork-Id: 1946390 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=RCGEHbM4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VzBWr07Slz20Pb for ; Wed, 12 Jun 2024 00:53:58 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DABD6385DDD3 for ; Tue, 11 Jun 2024 14:53:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by sourceware.org (Postfix) with ESMTPS id 4FC743858C5F for ; Tue, 11 Jun 2024 14:53:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4FC743858C5F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4FC743858C5F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718117619; cv=none; b=Ed0krK1cIpPbhBaxyLjY4KxtiEndxW6CM2H/oNWUZWpX+3TN62a/0/a5kdEJLFH1KS56N/kgZfoXvBYoQUw0A5U1OeayfCeK+erjXNrZd40NQwJI1tE2fMoI/x/MQ9zRO75PuwUYpe+yNc7ltGy0SP58Rkhi+9MH+I7O+0f70Gw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718117619; c=relaxed/simple; bh=njvGWxroDgv76Bnx1PECQa970tlZcJ4Xg80Cxixvavo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=Gin1pSLhIvW6ZYE7QTVBNZqEtQXbdqsnE0dPk2qp1qbAaRAKnWLf+ueO7TXaPO6Z7KjNKujhnZcqZFkdNo5hZ9X7N+ggZqrO3PuVGxw/7i/bLSI1yh2h5UcTghaAQTce/RhYPOK3q5Pn9aWgdJgsyCMKbziZtr/dRauYeKBWSBE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718117618; x=1749653618; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=njvGWxroDgv76Bnx1PECQa970tlZcJ4Xg80Cxixvavo=; b=RCGEHbM4XbAd6ZFQVG7/IHTKn93ogBAuSaagMniY226D+NLihBPKI/yq f/t3d6sa0XF4q4m4jtuU9P1HfrWcP5NHpYcsv/5Sescei1GdwgEiuLAvx MwW75rCQFzyCAHryW6vF/ycX8wk735HOk/W5lqLiQUMmVsw2Ubb1+Eipf 9gPUWPxpAN+KZbMxANgDEQSM49Pt28VJSEVzMVqPsfjeAOxYdTQTU2ZxM Mwjra2VE+a3Ck4jMH6VMmURQs2SvTcgXokkC/O/b05bwmpKSOgqXTYq54 e+wd3Vfam4qr0hg2bJRDqDjzy6beChCkT7orVkkxCZ3a4C9MoHtCxe/6i A==; X-CSE-ConnectionGUID: Sc4Df4vyQEOLqrmrToRNKQ== X-CSE-MsgGUID: bzWgx2hCR+61g6foCNjTiw== X-IronPort-AV: E=McAfee;i="6600,9927,11100"; a="14677643" X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="14677643" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 07:53:36 -0700 X-CSE-ConnectionGUID: E0MDBIhcR76urDQ5WDsszA== X-CSE-MsgGUID: V77oSliCQWy1JkiQZJit3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,230,1712646000"; d="scan'208";a="39930059" Received: from shvmail02.sh.intel.com ([10.239.244.9]) by orviesa006.jf.intel.com with ESMTP; 11 Jun 2024 07:53:35 -0700 Received: from pli-ubuntu.sh.intel.com (pli-ubuntu.sh.intel.com [10.239.159.47]) by shvmail02.sh.intel.com (Postfix) with ESMTP id 5BD881005195; Tue, 11 Jun 2024 22:53:33 +0800 (CST) From: pan2.li@intel.com To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, kito.cheng@gmail.com, richard.guenther@gmail.com, jeffreyalaw@gmail.com, pinskia@gmail.com, Pan Li Subject: [PATCH v2] Test: Move target independent test cases to gcc.dg/torture Date: Tue, 11 Jun 2024 22:53:31 +0800 Message-Id: <20240611145331.1533338-1-pan2.li@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240611061943.698499-1-pan2.li@intel.com> References: <20240611061943.698499-1-pan2.li@intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, 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+incoming=patchwork.ozlabs.org@gcc.gnu.org From: Pan Li The test cases of pr115387 are target independent, at least x86 and riscv are able to reproduce. Thus, move these cases to the gcc.dg/torture. The below test suites are passed. 1. The rv64gcv fully regression test. 2. The x86 fully regression test. gcc/testsuite/ChangeLog: * gcc.target/riscv/pr115387-1.c: Move to... * gcc.dg/torture/pr115387-1.c: ...here. * gcc.target/riscv/pr115387-2.c: Move to... * gcc.dg/torture/pr115387-2.c: ...here. Signed-off-by: Pan Li --- gcc/testsuite/{gcc.target/riscv => gcc.dg/torture}/pr115387-1.c | 1 - gcc/testsuite/{gcc.target/riscv => gcc.dg/torture}/pr115387-2.c | 1 - 2 files changed, 2 deletions(-) rename gcc/testsuite/{gcc.target/riscv => gcc.dg/torture}/pr115387-1.c (92%) rename gcc/testsuite/{gcc.target/riscv => gcc.dg/torture}/pr115387-2.c (84%) diff --git a/gcc/testsuite/gcc.target/riscv/pr115387-1.c b/gcc/testsuite/gcc.dg/torture/pr115387-1.c similarity index 92% rename from gcc/testsuite/gcc.target/riscv/pr115387-1.c rename to gcc/testsuite/gcc.dg/torture/pr115387-1.c index a1c926977c4..d94e935fade 100644 --- a/gcc/testsuite/gcc.target/riscv/pr115387-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr115387-1.c @@ -1,6 +1,5 @@ /* Test there is no ICE when compile. */ /* { dg-do compile } */ -/* { dg-options "-march=rv64gcv -mabi=lp64d -O3" } */ #define PRINTF_CHK 0x34 diff --git a/gcc/testsuite/gcc.target/riscv/pr115387-2.c b/gcc/testsuite/gcc.dg/torture/pr115387-2.c similarity index 84% rename from gcc/testsuite/gcc.target/riscv/pr115387-2.c rename to gcc/testsuite/gcc.dg/torture/pr115387-2.c index 7183bf18dfd..9e93024b45c 100644 --- a/gcc/testsuite/gcc.target/riscv/pr115387-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr115387-2.c @@ -1,6 +1,5 @@ /* Test there is no ICE when compile. */ /* { dg-do compile } */ -/* { dg-options "-march=rv64gcv -mabi=lp64d -O3" } */ #include #include