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 7D9643858402 for ; Thu, 24 Feb 2022 16:30:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7D9643858402 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 21OFF93S031408; Thu, 24 Feb 2022 16:30:06 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3edh6xpuj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Feb 2022 16:30:06 +0000 Received: from m0098409.ppops.net (m0098409.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 21OGQR1t011013; Thu, 24 Feb 2022 16:30:05 GMT Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 3edh6xpuhk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Feb 2022 16:30:05 +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 21OG6qui023327; Thu, 24 Feb 2022 16:30:04 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma04wdc.us.ibm.com with ESMTP id 3ear6b783c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Feb 2022 16:30:04 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 21OGU20l37486936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Feb 2022 16:30:02 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C838F6A054; Thu, 24 Feb 2022 16:30:02 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A9C856A05A; Thu, 24 Feb 2022 16:30:02 +0000 (GMT) Received: from [9.211.62.151] (unknown [9.211.62.151]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTPS; Thu, 24 Feb 2022 16:30:02 +0000 (GMT) Message-ID: Date: Thu, 24 Feb 2022 10:30:02 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: PING: [PATCH, testsuite] Fix attr-retain-*.c testcases on 32-bit PowerPC [PR100407] Content-Language: en-US To: GCC Patches Cc: David Edelsohn , Segher Boessenkool References: <23985167-12e9-a8f9-83a9-cbf44214eca5@linux.ibm.com> From: Pat Haugen In-Reply-To: <23985167-12e9-a8f9-83a9-cbf44214eca5@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: veTnS5SP8YlgklAXZZ3KgHgDRg_c8kYM X-Proofpoint-ORIG-GUID: WbHFqhkbWfV-SQglK3hqsb2gjKeuIMpB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-02-24_03,2022-02-24_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 clxscore=1015 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202240095 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, 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-List-Received-Date: Thu, 24 Feb 2022 16:30:09 -0000 Ping. On 2/10/22 4:17 PM, Pat Haugen via Gcc-patches wrote: > Per Alan's comment in the bugzilla, fix attr-retain-* tescases for 32-bit PowerPC. > > Bootstrapped and regression tested on powerpc64(32/64) and powerpc64le. > Ok for master? > > -Pat > > > 2022-02-10 Pat Haugen > > PR testsuite/100407 > > gcc/testsuite/ > * gcc.c-torture/compile/attr-retain-1.c: Add -G0 for 32-bit PowerPC. > * gcc.c-torture/compile/attr-retain-2.c: Likewise. > > > > diff --git a/gcc/testsuite/gcc.c-torture/compile/attr-retain-1.c b/gcc/testsuite/gcc.c-torture/compile/attr-retain-1.c > index 6cab155..4a366eb 100644 > --- a/gcc/testsuite/gcc.c-torture/compile/attr-retain-1.c > +++ b/gcc/testsuite/gcc.c-torture/compile/attr-retain-1.c > @@ -1,4 +1,5 @@ > /* { dg-do compile { target R_flag_in_section } } */ > +/* { dg-options "-G0" { target { powerpc*-*-* && ilp32 } } } */ > /* { dg-final { scan-assembler ".text.*,\"axR\"" } } */ > /* { dg-final { scan-assembler ".bss.*,\"awR\"" } } */ > /* { dg-final { scan-assembler ".data.*,\"awR\"" } } */ > diff --git a/gcc/testsuite/gcc.c-torture/compile/attr-retain-2.c b/gcc/testsuite/gcc.c-torture/compile/attr-retain-2.c > index 0208ffe..d9fc150 100644 > --- a/gcc/testsuite/gcc.c-torture/compile/attr-retain-2.c > +++ b/gcc/testsuite/gcc.c-torture/compile/attr-retain-2.c > @@ -11,5 +11,6 @@ > /* { dg-final { scan-assembler ".bss.used_lcomm2,\"awR\"" { target arm-*-* } } } */ > /* { dg-final { scan-assembler ".data.used_foo_sec,\"awR\"" } } */ > /* { dg-options "-ffunction-sections -fdata-sections" } */ > +/* { dg-options "-ffunction-sections -fdata-sections -G0" { target { powerpc*-*-* && ilp32 } } } */ > > #include "attr-retain-1.c"