Message ID | 51d2ee57-3df2-e038-b37f-4c296537d6c6@linux.ibm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2403348vqu; Tue, 26 Sep 2023 22:40:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGdxckktloDFmho5N363hVMEZ+PAfT6DgvgDVQFNHuN1v7jOmJw7W+a6zL17R47ine50Z5 X-Received: by 2002:a19:7b1d:0:b0:503:3753:9db9 with SMTP id w29-20020a197b1d000000b0050337539db9mr611426lfc.35.1695793206941; Tue, 26 Sep 2023 22:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695793206; cv=none; d=google.com; s=arc-20160816; b=sSXQAxwJvOAJyKOjjBQya8qeDOnlCHsr+RNsPmwDRY7ly66zUi7htJPEgVlauW/lF0 YkUwfQfmQy+gn+WxpWxdHwr8TYz1SGQsb2A9RDUZHKAUUIweA3ELxVESlv5pZNlu+QZp /5pwSV5N8MlaSJg1C+FC2b/SaqH5Xc9C6W9Dr07+MtFW+bIM2+DI4kMvWNu1OlMu4zKQ WzXQv4CHqcV5hYoTMoqKaIs2ebsCG67+lFCcJBGS0Rsg7kwsFX7eZbnOV9Fefo/Jl9aw oJ1hinpfKbe3esYY4fry6ooBenFYHKJ2pHB0DoOKTiid6fuPQtP2vdTAoWNB8ifoe6w0 vQNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature:dmarc-filter:delivered-to; bh=b6AQRKwemjlUBijDh1Lp3QrIHEa9vGQRUaW38ZIszm4=; fh=iegNKiEZyb98sa1Ad993ntE6M7fGTWqzVDJGPvBhIIM=; b=KObzzW27HI0kGZ8mo1wdvZE/tU7wVSSQRCdFNCtlyKj3NrOcmYHYPqQQlt+mIMRksg qq45N/f8IB/OwlcBxv5o4YxQmYVz5zaMSYR7eH7ClrdShwHEhwSp0hsddUoXuO8R27S0 I3yVdJUVwcOB4/CADHtcpRAG7lwz5Plks92UHnOIRMI1aZo+pXTTDxTjofzhJ4SkGoxS 94Qlx+viiQqdab7uX7aNryplzrmzF3Inw1dOCCX6Ah/cFSAk9VjHhyE936ZuGTjW/Kx4 Jd+5KbgACJolXHWtoHtPXE09zZ2k3mAPzctt6qFk1J9gWOmlDmLW6GffKbnoR7mIrk8Z r0/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WW7qsNOT; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id q21-20020aa7d455000000b0052a187f8754si12079381edr.683.2023.09.26.22.40.06 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 22:40:06 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WW7qsNOT; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D23A43860769 for <ouuuleilei@gmail.com>; Wed, 27 Sep 2023 05:39:48 +0000 (GMT) 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 4534D385CCA3 for <gcc-patches@gcc.gnu.org>; Wed, 27 Sep 2023 05:38:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4534D385CCA3 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38R5IZV5014260 for <gcc-patches@gcc.gnu.org>; Wed, 27 Sep 2023 05:38:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : to : cc : from : subject : content-type : content-transfer-encoding; s=pp1; bh=b6AQRKwemjlUBijDh1Lp3QrIHEa9vGQRUaW38ZIszm4=; b=WW7qsNOTHO2fAQROJI2bWUFDGo3n9Xya+k1BTBYhdN2w7tAxMdpUrZ6dDXP8LdKS1NWK 4/qd7/GYt4M6CmGSjxPhOW4B7JUgVpfn3Bd7sQTUzWS3m7mwSDpV5dvFs2BU81I7k7n4 ZA3RUvad1sOlf6Br2yPsJOoVBLd2rr/gb1x0KPRDCjdNDnVsw1dhbEka1HgRxmwHTpaG SWV+ivhLFjZRvkQ/IXGLygYJoKXl7Aae7CxyEUk4q74C+oqQSFFisQdwDx1pHbCPf+8h MFz5rQptCX13L5N3Z6F1xwA76ZVhOh3aPGu5vQ7d/k40TbSWHfOk3J5ufhLdvkJbxYfI fg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tce4s8hv1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <gcc-patches@gcc.gnu.org>; Wed, 27 Sep 2023 05:38:54 +0000 Received: from m0353729.ppops.net (m0353729.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 38R5MUiP023690 for <gcc-patches@gcc.gnu.org>; Wed, 27 Sep 2023 05:38:43 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tce4s8h6w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Sep 2023 05:38:43 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 38R47Bvp011007; Wed, 27 Sep 2023 05:38:02 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3tabukgusc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Sep 2023 05:38:02 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 38R5bxGS46924192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 Sep 2023 05:37:59 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F0C072004B; Wed, 27 Sep 2023 05:37:58 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 63BF820049; Wed, 27 Sep 2023 05:37:57 +0000 (GMT) Received: from [9.177.71.47] (unknown [9.177.71.47]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 27 Sep 2023 05:37:57 +0000 (GMT) Message-ID: <51d2ee57-3df2-e038-b37f-4c296537d6c6@linux.ibm.com> Date: Wed, 27 Sep 2023 13:37:55 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US To: GCC Patches <gcc-patches@gcc.gnu.org> Cc: Richard Biener <richard.guenther@gmail.com>, Peter Bergner <bergner@linux.ibm.com> From: "Kewen.Lin" <linkw@linux.ibm.com> Subject: [PATCH] testsuite: Avoid uninit var in pr60510.f [PR111427] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: eZXFj5d52v8T22Qn2zHOYfpLXf-EV4mk X-Proofpoint-ORIG-GUID: TSWrWrEcho7uyOZFWHI8FYw6Y1fA9jzd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-27_02,2023-09-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 mlxlogscore=693 phishscore=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 suspectscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309270045 X-Spam-Status: No, score=-11.6 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_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778168057804742587 X-GMAIL-MSGID: 1778168057804742587 |
Series |
testsuite: Avoid uninit var in pr60510.f [PR111427]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Kewen.Lin
Sept. 27, 2023, 5:37 a.m. UTC
Hi, The uninitialized variable a in pr60510.f can cause some random failures as exposed in PR111427, see the details there. This patch is to make it initialized accordingly. As verified, it can fix the reported -m32 failures on P7 and P8 BE. It's also tested well on powerpc64-linux-gnu P9 and powerpc64le-linux-gnu P9 and P10. Is it ok for trunk? BR, Kewen ----- PR testsuite/111427 gcc/testsuite/ChangeLog: * gfortran.dg/vect/pr60510.f (test): Init variable a. --- gcc/testsuite/gfortran.dg/vect/pr60510.f | 1 + 1 file changed, 1 insertion(+) -- 2.35.4
Comments
On Wed, Sep 27, 2023 at 7:39 AM Kewen.Lin <linkw@linux.ibm.com> wrote: > > Hi, > > The uninitialized variable a in pr60510.f can cause some > random failures as exposed in PR111427, see the details > there. This patch is to make it initialized accordingly. > > As verified, it can fix the reported -m32 failures on > P7 and P8 BE. It's also tested well on powerpc64-linux-gnu > P9 and powerpc64le-linux-gnu P9 and P10. > > Is it ok for trunk? OK. Richard. > BR, > Kewen > ----- > > PR testsuite/111427 > > gcc/testsuite/ChangeLog: > > * gfortran.dg/vect/pr60510.f (test): Init variable a. > --- > gcc/testsuite/gfortran.dg/vect/pr60510.f | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gcc/testsuite/gfortran.dg/vect/pr60510.f b/gcc/testsuite/gfortran.dg/vect/pr60510.f > index ecd50dd5586..6cae82acece 100644 > --- a/gcc/testsuite/gfortran.dg/vect/pr60510.f > +++ b/gcc/testsuite/gfortran.dg/vect/pr60510.f > @@ -17,6 +17,7 @@ > > program test > real*8 x(1024),y(1024),a > + a = 0.0 > do i=1,1024 > x(i) = i > y(i) = i+1 > -- > 2.35.4
diff --git a/gcc/testsuite/gfortran.dg/vect/pr60510.f b/gcc/testsuite/gfortran.dg/vect/pr60510.f index ecd50dd5586..6cae82acece 100644 --- a/gcc/testsuite/gfortran.dg/vect/pr60510.f +++ b/gcc/testsuite/gfortran.dg/vect/pr60510.f @@ -17,6 +17,7 @@ program test real*8 x(1024),y(1024),a + a = 0.0 do i=1,1024 x(i) = i y(i) = i+1