From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id CD2B038515E9 for ; Thu, 15 Apr 2021 15:55:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CD2B038515E9 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13FFXHAb038189 for ; Thu, 15 Apr 2021 11:55:09 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 37x46v8b7j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 Apr 2021 11:55:09 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 13FFeAcx020645 for ; Thu, 15 Apr 2021 15:55:07 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma06ams.nl.ibm.com with ESMTP id 37u39hm0mv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 Apr 2021 15:55:07 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 13FFsgpi28901706 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Apr 2021 15:54:42 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3D3EBA4057; Thu, 15 Apr 2021 15:55:04 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 12B31A404D; Thu, 15 Apr 2021 15:55:04 +0000 (GMT) Received: from li-926bd7cc-2dd1-11b2-a85c-f6adc0f5efec.ibm.com (unknown [9.171.55.235]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 15 Apr 2021 15:55:03 +0000 (GMT) From: Robin Dapp Subject: [PATCH] testsuite: Move gimplefe40.c and gimplefe41.c To: gcc-patches@gcc.gnu.org Message-ID: <495cec56-f914-d114-3882-fa9642d9ffce@linux.ibm.com> Date: Thu, 15 Apr 2021 17:55:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------536725F4AD88150FD589EB30" Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-GUID: fXMM38T72guFyw5WG5pDkOeQHvmVBqJ4 X-Proofpoint-ORIG-GUID: fXMM38T72guFyw5WG5pDkOeQHvmVBqJ4 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-15_06:2021-04-15, 2021-04-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 malwarescore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 suspectscore=0 impostorscore=0 mlxscore=0 spamscore=0 phishscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104150099 X-Spam-Status: No, score=-10.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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-List-Received-Date: Thu, 15 Apr 2021 15:55:11 -0000 This is a multi-part message in MIME format. --------------536725F4AD88150FD589EB30 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, the gimplefe40 and gimplefe41.c tests expect vector capabilities (vect_float etc.) yet are not in the vect subdirectory. This causes both to be called unconditionally without prior target-specific vector setup normally performed by vect/vect.exp. There is a target-specific option for powerpc /* { dg-additional-options "-maltivec" { target { powerpc*-*-* && powerpc_altivec_ok } } } */ which enables Altivec on supported targets but I'd rather not create another special case for s390. I suppose the better solution is to move these tests to the vect subdirectory. Is this OK? Regards Robin -- gcc/testsuite/ChangeLog: * gcc.dg/gimplefe-40.c: Moved to... * gcc.dg/vect/gimplefe-40.c: ...here. * gcc.dg/gimplefe-41.c: Moved to... * gcc.dg/vect/gimplefe-41.c: ...here. --------------536725F4AD88150FD589EB30 Content-Type: text/x-patch; charset=UTF-8; name="gcc-gimplefe-move.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gcc-gimplefe-move.diff" commit 1acd4d01c41aeea78ec3c188beb25b245dda4c8b Author: Robin Dapp Date: Wed Mar 17 09:08:42 2021 +0100 [PATCH] testsuite: Move gimplefe-4[0|1] tests. The gimplefe-40.c and gimplefe-41.c test cases require vect_* effective targets even though they reside in gcc.dg. By default e.g. DEFAULT_VECTCFLAGS which is used to add target-specific machine or build flags is only applied in the ./vect subdirectory. Move these tests there. diff --git a/gcc/testsuite/gcc.dg/gimplefe-40.c b/gcc/testsuite/gcc.dg/vect/gimplefe-40.c similarity index 100% rename from gcc/testsuite/gcc.dg/gimplefe-40.c rename to gcc/testsuite/gcc.dg/vect/gimplefe-40.c diff --git a/gcc/testsuite/gcc.dg/gimplefe-41.c b/gcc/testsuite/gcc.dg/vect/gimplefe-41.c similarity index 100% rename from gcc/testsuite/gcc.dg/gimplefe-41.c rename to gcc/testsuite/gcc.dg/vect/gimplefe-41.c --------------536725F4AD88150FD589EB30--