From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by sourceware.org (Postfix) with ESMTPS id 0037D3858C83; Tue, 26 Apr 2022 14:40:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0037D3858C83 From: Hans-Peter Nilsson To: CC: , Thomas Koenig , , , In-Reply-To: (message from Thomas Koenig via Gcc-patches on Fri, 22 Apr 2022 15:59:45 +0200) Subject: Re: *PING* [PATCH 0/4] Use pointer arithmetic for array references [PR102043] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT References: <20220416165618.236666-1-mikael@gcc.gnu.org> <6d835381-a1f8-d4fa-3e43-efb30961d831@orange.fr> Message-ID: <20220426144033.723E720430@pchp3.se.axis.com> Date: Tue, 26 Apr 2022 16:40:33 +0200 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, SPF_HELO_PASS, 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: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2022 14:40:37 -0000 > From: Thomas Koenig via Gcc-patches > Date: Fri, 22 Apr 2022 15:59:45 +0200 > Hi Mikael, > > > Ping for the four patches starting at > > https://gcc.gnu.org/pipermail/fortran/2022-April/057759.html : > > https://gcc.gnu.org/pipermail/fortran/2022-April/057757.html > > https://gcc.gnu.org/pipermail/fortran/2022-April/057760.html > > https://gcc.gnu.org/pipermail/fortran/2022-April/057758.html > > https://gcc.gnu.org/pipermail/fortran/2022-April/057761.html > > > > Richi accepted the general direction and the middle-end interaction. > > I need a fortran frontend ack as well. > > Looks good to me. > > Thanks a lot for taking this on! This would have been a serious > regression if released with gcc 12. > > Best regards > > Thomas These, or specifically r12-8227-g89ca0fffa48b79, "fortran: Pre-evaluate string pointers. [PR102043]" have further exposed (the issue existed before but now fails for more platforms) PR78054 "gfortran.dg/pr70673.f90 FAILs at -O0", at least for cris-elf and apparently also s390x-ibm-linux-gnu. In the PR it is mentioned that running the test through valgrind shows invalid accesses also on x86_64-linux-gnu. Could it be that the test-case is invalid and has undefined behavior? I don't know fortran so I can't tell. That exact commit causing a regression for s390x is somewhat an assumption based on posted date and testresults, as the s390x results don't include a git version. (@Stefansf: I'm referring to https://gcc.gnu.org/pipermail/gcc-testresults/2022-April/760060.html https://gcc.gnu.org/pipermail/gcc-testresults/2022-April/760137.html Perhaps that tester isn't using the contrib/gcc_update and contrib/test_summary scripts, thus no LAST_UPDATED included?) brgds, H-P