From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by sourceware.org (Postfix) with ESMTPS id 819AD38555B9 for ; Thu, 15 Jun 2023 17:57:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 819AD38555B9 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35FB71aR000333 for ; Thu, 15 Jun 2023 10:57:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=mvpRdZodbA6Jd3GXNGzPNKtKJXwwYzj6tCnGecqeP24=; b=gFND1g6T6urOxiQSC+epI2GlHrPSLv8+3Ya0F6yb21KgtOI3XnRLwNDN4tqeMRffBG6F JRAPnAVD1PaJXXr7uPllaJ/kzpbK/4Ai/NoNJ4Kn00CKC2wBg0ubsvjhFF8tJ3T86ZEO UOCQuGhx+MC/KEwES5wdLXwuiU5Q00vkVZJ2Lg+fSma21pj7J1gtlsCxQFSm0FIbX/ED ecmG/QOtU5Ddev6YLzmEJ7Tk94qTNmMyE1kupX2/UmE/99kA1JbhO0YfamaAU97Gw/Pi Os7jvxsw8R0y2mt5Ny+mUirpHj3bCo5B8i/gn70SOLpfOdRSi9WeeJUF33T6D5S/6ho5 HA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r81g39seb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 15 Jun 2023 10:57:35 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 15 Jun 2023 10:57:33 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 15 Jun 2023 10:57:33 -0700 Received: from vpnclient.wrightpinski.org.com (unknown [10.69.242.187]) by maili.marvell.com (Postfix) with ESMTP id 2BB143F7043; Thu, 15 Jun 2023 10:57:33 -0700 (PDT) From: Andrew Pinski To: CC: Andrew Pinski Subject: [PATCH] Add another testcase for PR 110266 Date: Thu, 15 Jun 2023 10:56:25 -0700 Message-ID: <20230615175625.3544115-1-apinski@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: qp_wW8_4-nTQoup6XO7eFo2BQAK_vNXT X-Proofpoint-ORIG-GUID: qp_wW8_4-nTQoup6XO7eFo2BQAK_vNXT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-15_14,2023-06-15_01,2023-05-22_02 X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,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 List-Id: Since the combining of sin/cos into cexpi is depedent on the target, this adds another testcase which had failed (earlier in evpr rather than vrp2) that will fail on all targets rather than ones which have sincos or C99 math functions. Committed as obvious after a quick test. gcc/testsuite/ChangeLog: PR tree-optimization/110266 * gcc.c-torture/compile/pr110266.c: New test. --- gcc/testsuite/gcc.c-torture/compile/pr110266.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/pr110266.c diff --git a/gcc/testsuite/gcc.c-torture/compile/pr110266.c b/gcc/testsuite/gcc.c-torture/compile/pr110266.c new file mode 100644 index 00000000000..92af0c51efc --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr110266.c @@ -0,0 +1,9 @@ +double PsyBufferUpdate(int n) +{ + if (n == 4) + { + _Complex double t = __builtin_cexpi(n); + return __real t * __imag t; + } + return 0; +} -- 2.31.1