From patchwork Mon Apr 18 17:15:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Clarke" X-Patchwork-Id: 1618491 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=eZxfT7zu; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KhttG4Ggbz9sDX for ; Tue, 19 Apr 2022 03:17:58 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2D8AB385803D for ; Mon, 18 Apr 2022 17:17:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D8AB385803D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1650302276; bh=VvsBoJbRHxXSk4g+M10gLuR0noprBll/ytByelVJRmk=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=eZxfT7zuCj2dfb33BWa8A7Vdk/FzRSe/xh6FVo9P3wfXqgup6MvnV+k23ztBlbmJ1 jixhCW7pzD76cniz3wjVwlJpyqkB1mGdaOTm6fb6AaNwGFXxyU6e7YKu5cb4FzbXq2 f2FQV9ZdukB29wBuoaTWeAbWdfWnp73JDlipMr/8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id C651F3858C50 for ; Mon, 18 Apr 2022 17:15:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C651F3858C50 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 23IG1pou005857; Mon, 18 Apr 2022 17:15:42 GMT Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 3fg7bshr4s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 17:15:41 +0000 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23IHCuHS007788; Mon, 18 Apr 2022 17:15:40 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma03dal.us.ibm.com with ESMTP id 3ffne9k9sa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 17:15:40 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23IHFelO27132326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Apr 2022 17:15:40 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2070628065; Mon, 18 Apr 2022 17:15:40 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D81B728060; Mon, 18 Apr 2022 17:15:39 +0000 (GMT) Received: from localhost (unknown [9.77.158.43]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 18 Apr 2022 17:15:39 +0000 (GMT) To: segher@kernel.crashing.org, gcc-patches@gcc.gnu.org Subject: [PATCH v3 1/2] rs6000: Move g++.dg powerpc PR tests to g++.target Date: Mon, 18 Apr 2022 12:15:34 -0500 Message-Id: <20220418171535.416784-2-pc@us.ibm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220418171535.416784-1-pc@us.ibm.com> References: <20220418171535.416784-1-pc@us.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: Qj3wyyagFtRMtTZnuVT10nD9SsWWLx7N X-Proofpoint-GUID: Qj3wyyagFtRMtTZnuVT10nD9SsWWLx7N X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-18_02,2022-04-15_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 adultscore=0 malwarescore=0 bulkscore=0 impostorscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 phishscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204180101 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "Paul A. Clarke via Gcc-patches" From: "Paul A. Clarke" Reply-To: "Paul A. Clarke" Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Also adjust DejaGnu directives, as specifically requiring "powerpc*-*-*" is no longer required. 2021-04-18 Paul A. Clarke gcc/testsuite * g++.dg/pr65240.h: Move to g++.target/powerpc. * g++.dg/pr93974.C: Likewise. * g++.dg/pr65240-1.C: Move to g++.target/powerpc, adjust dg directives. * g++.dg/pr65240-2.C: Likewise. * g++.dg/pr65240-3.C: Likewise. * g++.dg/pr65240-4.C: Likewise. * g++.dg/pr65242.C: Likewise. * g++.dg/pr67211.C: Likewise. * g++.dg/pr69667.C: Likewise. * g++.dg/pr71294.C: Likewise. * g++.dg/pr84264.C: Likewise. * g++.dg/pr84279.C: Likewise. * g++.dg/pr85657.C: Likewise. --- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-1.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-2.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-3.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-4.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240.h | 0 gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65242.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr67211.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr69667.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr71294.C | 2 +- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84264.C | 2 +- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84279.C | 5 +++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr85657.C | 2 +- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr93974.C | 0 13 files changed, 27 insertions(+), 19 deletions(-) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-1.C (68%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-2.C (68%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-3.C (67%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-4.C (65%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240.h (100%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65242.C (92%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr67211.C (90%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr69667.C (96%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr71294.C (96%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84264.C (79%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84279.C (89%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr85657.C (90%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr93974.C (100%) diff --git a/gcc/testsuite/g++.dg/pr65240-1.C b/gcc/testsuite/g++.target/powerpc/pr65240-1.C similarity index 68% rename from gcc/testsuite/g++.dg/pr65240-1.C rename to gcc/testsuite/g++.target/powerpc/pr65240-1.C index ff8910df6a1a..23026673e76b 100644 --- a/gcc/testsuite/g++.dg/pr65240-1.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-1.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mno-fp-in-toc -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240-2.C b/gcc/testsuite/g++.target/powerpc/pr65240-2.C similarity index 68% rename from gcc/testsuite/g++.dg/pr65240-2.C rename to gcc/testsuite/g++.target/powerpc/pr65240-2.C index bdb7a62d73d2..ddd3b3b75f43 100644 --- a/gcc/testsuite/g++.dg/pr65240-2.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-2.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mfp-in-toc -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240-3.C b/gcc/testsuite/g++.target/powerpc/pr65240-3.C similarity index 67% rename from gcc/testsuite/g++.dg/pr65240-3.C rename to gcc/testsuite/g++.target/powerpc/pr65240-3.C index f37db9025d12..9e826c46ae7f 100644 --- a/gcc/testsuite/g++.dg/pr65240-3.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-3.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=medium -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240-4.C b/gcc/testsuite/g++.target/powerpc/pr65240-4.C similarity index 65% rename from gcc/testsuite/g++.dg/pr65240-4.C rename to gcc/testsuite/g++.target/powerpc/pr65240-4.C index efb6a6c06e7c..6047f136536e 100644 --- a/gcc/testsuite/g++.dg/pr65240-4.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-4.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -O3 -ffast-math -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240.h b/gcc/testsuite/g++.target/powerpc/pr65240.h similarity index 100% rename from gcc/testsuite/g++.dg/pr65240.h rename to gcc/testsuite/g++.target/powerpc/pr65240.h diff --git a/gcc/testsuite/g++.dg/pr65242.C b/gcc/testsuite/g++.target/powerpc/pr65242.C similarity index 92% rename from gcc/testsuite/g++.dg/pr65242.C rename to gcc/testsuite/g++.target/powerpc/pr65242.C index 662f375015f2..09f5bb35f11d 100644 --- a/gcc/testsuite/g++.dg/pr65242.C +++ b/gcc/testsuite/g++.target/powerpc/pr65242.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3" } */ diff --git a/gcc/testsuite/g++.dg/pr67211.C b/gcc/testsuite/g++.target/powerpc/pr67211.C similarity index 90% rename from gcc/testsuite/g++.dg/pr67211.C rename to gcc/testsuite/g++.target/powerpc/pr67211.C index ac241818ab5b..5cd00ba98ee4 100644 --- a/gcc/testsuite/g++.dg/pr67211.C +++ b/gcc/testsuite/g++.target/powerpc/pr67211.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -mdejagnu-tune=power8 -O3 -w" } */ diff --git a/gcc/testsuite/g++.dg/pr69667.C b/gcc/testsuite/g++.target/powerpc/pr69667.C similarity index 96% rename from gcc/testsuite/g++.dg/pr69667.C rename to gcc/testsuite/g++.target/powerpc/pr69667.C index 422116dd5995..2d6d51d11a32 100644 --- a/gcc/testsuite/g++.dg/pr69667.C +++ b/gcc/testsuite/g++.target/powerpc/pr69667.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -w -std=c++14" } */ diff --git a/gcc/testsuite/g++.dg/pr71294.C b/gcc/testsuite/g++.target/powerpc/pr71294.C similarity index 96% rename from gcc/testsuite/g++.dg/pr71294.C rename to gcc/testsuite/g++.target/powerpc/pr71294.C index 716fa0d44b20..1da1e327a285 100644 --- a/gcc/testsuite/g++.dg/pr71294.C +++ b/gcc/testsuite/g++.target/powerpc/pr71294.C @@ -1,4 +1,4 @@ -// { dg-do compile { target { powerpc64*-*-* && lp64 } } } +// { dg-do compile { target lp64 } } // { dg-require-effective-target powerpc_p8vector_ok } */ // { dg-options "-mdejagnu-cpu=power8 -O3 -fstack-protector" } diff --git a/gcc/testsuite/g++.dg/pr84264.C b/gcc/testsuite/g++.target/powerpc/pr84264.C similarity index 79% rename from gcc/testsuite/g++.dg/pr84264.C rename to gcc/testsuite/g++.target/powerpc/pr84264.C index 4f8a77d8ac41..c9968cf66aa7 100644 --- a/gcc/testsuite/g++.dg/pr84264.C +++ b/gcc/testsuite/g++.target/powerpc/pr84264.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target { powerpc*-*-* } } } */ +/* { dg-do compile } */ /* { dg-options "-w -O1 -fstack-protector-strong" } */ void _setjmp (); diff --git a/gcc/testsuite/g++.dg/pr84279.C b/gcc/testsuite/g++.target/powerpc/pr84279.C similarity index 89% rename from gcc/testsuite/g++.dg/pr84279.C rename to gcc/testsuite/g++.target/powerpc/pr84279.C index e78201c30dbe..f551ac156cfd 100644 --- a/gcc/testsuite/g++.dg/pr84279.C +++ b/gcc/testsuite/g++.target/powerpc/pr84279.C @@ -1,5 +1,6 @@ -/* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile } */ +/* Never tested on darwin, so skip there. */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target fpic } */ /* { dg-options "-O3 -mdejagnu-cpu=power8 -g -fPIC -fvisibility=hidden -fstack-protector-strong" } */ diff --git a/gcc/testsuite/g++.dg/pr85657.C b/gcc/testsuite/g++.target/powerpc/pr85657.C similarity index 90% rename from gcc/testsuite/g++.dg/pr85657.C rename to gcc/testsuite/g++.target/powerpc/pr85657.C index e62b62abcc5a..3a386542154d 100644 --- a/gcc/testsuite/g++.dg/pr85657.C +++ b/gcc/testsuite/g++.target/powerpc/pr85657.C @@ -1,4 +1,4 @@ -// { dg-do compile { target { powerpc*-*-linux* } } } +// { dg-do compile { target { *-*-linux* } } } // { dg-require-effective-target ppc_float128_sw } // { dg-options "-mvsx -mfloat128 -O2 -mabi=ibmlongdouble -Wno-psabi" } diff --git a/gcc/testsuite/g++.dg/pr93974.C b/gcc/testsuite/g++.target/powerpc/pr93974.C similarity index 100% rename from gcc/testsuite/g++.dg/pr93974.C rename to gcc/testsuite/g++.target/powerpc/pr93974.C From patchwork Mon Apr 18 17:15:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Clarke" X-Patchwork-Id: 1618490 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=byOtA5b8; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Khtsb2lCDz9sDX for ; Tue, 19 Apr 2022 03:17:23 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EE9B23857C43 for ; Mon, 18 Apr 2022 17:17:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE9B23857C43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1650302240; bh=+MEYT0vB6O7yWfcKat0mLZopJ66woa90ARQuS/kNfaQ=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=byOtA5b8ge01LkvSBtIuICVyogWmBxpcvp0yz3rXsa+GwJKJQCSUWlvN7QXtUTyW3 BX1ugnPPos/gfcdQpgHGNO+MkRNOow6WsAnJvC/biq00+SzqWMmCMD2oYaeNNtdFhd 8v3nlJN7llSR8u5llaTIhrEGbgRdL9YlHT7OsMUM= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id B8D1B3858D28 for ; Mon, 18 Apr 2022 17:15:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B8D1B3858D28 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 23IF4CSn020438; Mon, 18 Apr 2022 17:15:42 GMT Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0b-001b2d01.pphosted.com with ESMTP id 3fg75psxmm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 17:15:42 +0000 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23IHD1FL004408; Mon, 18 Apr 2022 17:15:41 GMT Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by ppma04wdc.us.ibm.com with ESMTP id 3ffne9yfs9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 17:15:41 +0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23IHFePm24117644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Apr 2022 17:15:41 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D2C4DAC06B; Mon, 18 Apr 2022 17:15:40 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 935F5AC05F; Mon, 18 Apr 2022 17:15:40 +0000 (GMT) Received: from localhost (unknown [9.77.158.43]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 18 Apr 2022 17:15:40 +0000 (GMT) To: segher@kernel.crashing.org, gcc-patches@gcc.gnu.org Subject: [PATCH v3 2/2] rs6000: Remove a few needless 'lp64' contraints. Date: Mon, 18 Apr 2022 12:15:35 -0500 Message-Id: <20220418171535.416784-3-pc@us.ibm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220418171535.416784-1-pc@us.ibm.com> References: <20220418171535.416784-1-pc@us.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: xwZ73IIICsgERXhH1IdhlzGgyKRwrVxM X-Proofpoint-GUID: xwZ73IIICsgERXhH1IdhlzGgyKRwrVxM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-18_02,2022-04-15_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 mlxlogscore=960 spamscore=0 suspectscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204180101 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "Paul A. Clarke via Gcc-patches" From: "Paul A. Clarke" Reply-To: "Paul A. Clarke" Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" A few tests need not be restricted to 'lp64', so remove the restriction. A few of those need a simple change to the DejaGnu directives to suppress '-mcmodel' flags for '-m32'. 2022-04-18 Paul A. Clarke gcc/testsuite * g++.target/powerpc/pr65240-1.C: Adjust DejaGnu directives. * g++.target/powerpc/pr65240-2.C: Likewise. * g++.target/powerpc/pr65240-3.C: Likewise. * g++.target/powerpc/pr65240-4.C: Likewise. * g++.target/powerpc/pr65242.C: Likewise. * g++.target/powerpc/pr67211.C: Likewise. * g++.target/powerpc/pr69667.C: Likewise. * g++.target/powerpc/pr71294.C: Likewise. --- gcc/testsuite/g++.target/powerpc/pr65240-1.C | 4 ++-- gcc/testsuite/g++.target/powerpc/pr65240-2.C | 4 ++-- gcc/testsuite/g++.target/powerpc/pr65240-3.C | 4 ++-- gcc/testsuite/g++.target/powerpc/pr65240-4.C | 2 +- gcc/testsuite/g++.target/powerpc/pr65242.C | 2 +- gcc/testsuite/g++.target/powerpc/pr67211.C | 2 +- gcc/testsuite/g++.target/powerpc/pr69667.C | 2 +- gcc/testsuite/g++.target/powerpc/pr71294.C | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-1.C b/gcc/testsuite/g++.target/powerpc/pr65240-1.C index 23026673e76b..40682d5fe857 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-1.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-1.C @@ -1,8 +1,8 @@ -/* { dg-do compile { target lp64 } } */ /* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mno-fp-in-toc -Wno-return-type" } */ +/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mno-fp-in-toc -Wno-return-type" } */ +/* { dg-additional-options "-mcmodel=small" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-2.C b/gcc/testsuite/g++.target/powerpc/pr65240-2.C index ddd3b3b75f43..4e4a1c2bb897 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-2.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-2.C @@ -1,8 +1,8 @@ -/* { dg-do compile { target lp64 } } */ /* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mfp-in-toc -Wno-return-type" } */ +/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mfp-in-toc -Wno-return-type" } */ +/* { dg-additional-options "-mcmodel=small" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-3.C b/gcc/testsuite/g++.target/powerpc/pr65240-3.C index 9e826c46ae7f..6acd278cab50 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-3.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-3.C @@ -1,8 +1,8 @@ -/* { dg-do compile { target lp64 } } */ /* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=medium -Wno-return-type" } */ +/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -Wno-return-type" } */ +/* { dg-additional-options "-mcmodel=medium" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-4.C b/gcc/testsuite/g++.target/powerpc/pr65240-4.C index 6047f136536e..57f2c769a3f3 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-4.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-4.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ /* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65242.C b/gcc/testsuite/g++.target/powerpc/pr65242.C index 09f5bb35f11d..64ca67e246f8 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65242.C +++ b/gcc/testsuite/g++.target/powerpc/pr65242.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ /* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr67211.C b/gcc/testsuite/g++.target/powerpc/pr67211.C index 5cd00ba98ee4..946802e44cde 100644 --- a/gcc/testsuite/g++.target/powerpc/pr67211.C +++ b/gcc/testsuite/g++.target/powerpc/pr67211.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ /* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr69667.C b/gcc/testsuite/g++.target/powerpc/pr69667.C index 2d6d51d11a32..7527611f334f 100644 --- a/gcc/testsuite/g++.target/powerpc/pr69667.C +++ b/gcc/testsuite/g++.target/powerpc/pr69667.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ /* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr71294.C b/gcc/testsuite/g++.target/powerpc/pr71294.C index 1da1e327a285..50ced56cdf6a 100644 --- a/gcc/testsuite/g++.target/powerpc/pr71294.C +++ b/gcc/testsuite/g++.target/powerpc/pr71294.C @@ -1,4 +1,4 @@ -// { dg-do compile { target lp64 } } +// { dg-do compile } // { dg-require-effective-target powerpc_p8vector_ok } */ // { dg-options "-mdejagnu-cpu=power8 -O3 -fstack-protector" }