From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 49D583858C27 for ; Wed, 27 Oct 2021 09:24:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49D583858C27 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19R9HKBx014032 for ; Wed, 27 Oct 2021 09:24:52 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3by40n83u0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Oct 2021 09:24:51 +0000 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 19R9LsHa029724 for ; Wed, 27 Oct 2021 09:24:51 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 3by40n83te-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Oct 2021 09:24:50 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 19R9Bmfs018469; Wed, 27 Oct 2021 09:24:48 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 3bx4edwcvj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Oct 2021 09:24:48 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 19R9Okrd3539628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Oct 2021 09:24:46 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EB21B5205F; Wed, 27 Oct 2021 09:24:45 +0000 (GMT) Received: from kewenlins-mbp.cn.ibm.com (unknown [9.200.146.131]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 199CE5204E; Wed, 27 Oct 2021 09:24:44 +0000 (GMT) Subject: Re: [committed] testsuite: Fix up gcc.dg/pr102897.c testcase [PR102897] To: Jakub Jelinek Cc: GCC Patches References: <96541e9b-46ff-e4a1-e60c-1d035f219560@linux.ibm.com> <20211027075125.GF304296@tucnak> From: "Kewen.Lin" Message-ID: <7f155dff-6eab-06d1-e5a8-8b8b75d2386d@linux.ibm.com> Date: Wed, 27 Oct 2021 17:24:43 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20211027075125.GF304296@tucnak> Content-Type: text/plain; charset=gbk Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: XRglzn5SjGYz25lqR9rSYtuOS-IOXDGD X-Proofpoint-GUID: tp-2r-8LP2fr6NOLqJ2ICvezMAkczwpP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-27_02,2021-10-26_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 clxscore=1015 mlxlogscore=999 malwarescore=0 priorityscore=1501 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110270056 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, MIME_CHARSET_FARAWAY, NICE_REPLY_A, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP 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-List-Received-Date: Wed, 27 Oct 2021 09:24:54 -0000 Hi Jakub, on 2021/10/27 ÏÂÎç3:51, Jakub Jelinek wrote: > On Tue, Oct 26, 2021 at 11:40:01AM +0800, Kewen.Lin via Gcc-patches wrote: >> gcc/testsuite/ChangeLog: >> >> * gcc.dg/pr102897.c: New test. > > The testcase FAILs on i686-linux due to: > FAIL: gcc.dg/pr102897.c (test for excess errors) > Excess errors: > .../gcc/gcc/testsuite/gcc.dg/pr102897.c:11:1: warning: MMX vector return without MMX enabled changes the ABI [-Wpsabi] > .../gcc/gcc/testsuite/gcc.dg/pr102897.c:10:10: warning: MMX vector argument without MMX enabled changes the ABI [-Wpsabi] > Fixed by adding -Wno-psabi. > > Tested on x86_64-linux and i686-linux, committed to trunk as obvious. > Thanks for fixing this up! BR, Kewen > 2021-10-27 Jakub Jelinek > > * gcc.dg/pr102897.c: Add -Wno-psabi to dg-options. > > --- gcc/testsuite/gcc.dg/pr102897.c.jj 2021-10-27 09:00:28.848276246 +0200 > +++ gcc/testsuite/gcc.dg/pr102897.c 2021-10-27 09:40:45.628296807 +0200 > @@ -1,6 +1,6 @@ > /* { dg-do compile } */ > /* Specify C99 to avoid the warning/error on compound literals. */ > -/* { dg-options "-O1 -std=c99" } */ > +/* { dg-options "-O1 -std=c99 -Wno-psabi" } */ > > /* Verify that there is no ICE. */ > > > > Jakub >