From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by sourceware.org (Postfix) with ESMTPS id 11C6F3858289 for ; Wed, 8 Mar 2023 14:56:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 11C6F3858289 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-x62d.google.com with SMTP id v11so17890061plz.8 for ; Wed, 08 Mar 2023 06:56:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678287365; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zd469z+TaJvALpCzVrHM6KqMRW/eFxp9tqrIOFzAx8A=; b=nt3Frpd5DXw/UToxGut9nLmRBozHaXmXk5U6wZ0Na4B/7G14jqZxi9sSL2XIrDfcTD bj1+iBdH5ZwHXj0jAMThF98tJgNC2dGP723s+27AVHBVBeFWxCMKshNQ9EDS8j/YnVSo CtIbB9pTvQ0SD3cjQO1zbRy1MaVZqa0SsjFAn2YgmpEZY8xgmIhLG4qQAcNFkTexb7gA vBMm1C6OOc88j5S1Y3xkTixefze0Pmyx1YlNqMJRl6aj2NuM//6qR6pxzxGQLscF8yhc neaAAaN1kaWG7NBH0h2W64kyueMfoIc3qpZXXsiX1PK5WNo2ORWorf5xkwLAnMT9Lp1a 2+OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678287365; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zd469z+TaJvALpCzVrHM6KqMRW/eFxp9tqrIOFzAx8A=; b=lTX/3BuTptCsG3bpIo5Hu7pUKu9HrzHBSsfLK4ho4ptmWxF5+/6kTlG6Fl/PbZyYxa fQ5V622sMQK0ghIrXfsLDIunJtuSQDCrbaZA4gXvtcUbne3/fJk4N4TkUkOxPmTNOzoj idpGuU/V/H6rbgomsgpFN3icVa4zVclk/4nXFIajlbySWob+ix07IL9ndE2aqv2KVOkX VtKW7kjQxHcrq1HXQzcrwfRjUleOgeQK+k0GeI7mA/PBVL0VJrzWUivmvFY3Um6ZQbpv Q13NJT08ixLHvam1MnsDkcSmEhU54cQcDXeHwssf7aHtjFwVO/IBAwNxpnjpr9o/wCwW bieA== X-Gm-Message-State: AO0yUKVGaev9ouRadyFFb7aqAZ8d4Q5moilhNoCKj7Mpiy8Ke1UeFyK7 lwPKgxU/rFeemQFPD/yjzhIwPT/kdxDK0dmDVqA= X-Google-Smtp-Source: AK7set/PxEVP7g8txVoFGO4pFWKWaAUVsVmSPwCvMNwoqO3SoRt+M8BB5s5yudNufMydA/YQqdUHeMhg5OXE43v7BtM= X-Received: by 2002:a17:903:2606:b0:199:56f2:3fc4 with SMTP id jd6-20020a170903260600b0019956f23fc4mr7193716plb.8.1678287364808; Wed, 08 Mar 2023 06:56:04 -0800 (PST) MIME-Version: 1.0 References: <582085ac-0d07-a516-732d-e82e0a4e01c9@netcologne.de> In-Reply-To: From: Paul Richard Thomas Date: Wed, 8 Mar 2023 14:55:53 +0000 Message-ID: Subject: Re: [Patch, fortran] PR37336 finalization To: Richard Biener Cc: Thomas Koenig , Steve Kargl , "fortran@gcc.gnu.org" Content-Type: multipart/alternative; boundary="00000000000035e5c505f664ba27" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,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 List-Id: --00000000000035e5c505f664ba27 Content-Type: text/plain; charset="UTF-8" Hi All, I ran the polyhedron testsuite with the patched gfortran-13.0.1 and 7.4(as used in the posted Linux test). The timings are comparable except for rnflow.f90. As noted below, rnflow.f90 hangs with the unpatched mainline at -O3 but runs successfully at -O2. I presume that this is a serious regression since it involves optimization? Which component should I post it against? Regards Paul gfortran 13.0.1 with patch Benchmark Compile Executable Ave Run Number Estim Name (secs) (bytes) (secs) Repeats Err % --------- ------- ---------- ------- ------- ------ ac 0.00 55904 7.28 2 0.0550 aermod 0.00 1149032 10.32 2 0.0242 air 0.00 120224 3.57 2 0.3083 capacita 0.00 110872 20.27 2 0.0765 channel2 0.00 43928 98.23 2 0.2703 doduc 0.00 190296 13.86 2 0.2453 gas_dyn2 0.00 108176 96.77 2 0.1364 fatigue2 0.00 90752 61.44 2 0.0618 induct2 0.00 224992 57.71 2 0.0572 linpk 0.00 47672 5.54 2 0.1806 mp_prop_desi 0.00 52640 94.50 2 0.0079 nf 0.00 64480 9.25 2 0.4053 protein 0.00 136496 20.83 2 0.9096 rnflow 0.00 181320 3417.15 2 99.8270**** test_fpu2 0.00 126752 52.35 2 0.1691 tfft2 0.00 60280 37.61 2 0.9387 Geometric Mean Execution Time = 32.72 seconds ****rnflow hangs without patch as well. Seems to be a rather serious regression. gets stuck with -O3 in the loop starting at line 3566 in subroutine cptrf2 ================================================================================ gfortran7.4 Benchmark Compile Executable Ave Run Number Estim Name (secs) (bytes) (secs) Repeats Err % --------- ------- ---------- ------- ------- ------ ac 0.00 3612576 7.30 2 0.0205 aermod 0.00 5204760 10.21 2 0.0784 air 0.00 3829736 4.05 2 0.0988 capacita 0.00 3672512 22.25 2 0.1506 channel2 0.00 3663368 87.22 2 0.5767 doduc 0.00 3840336 13.60 2 0.0221 gas_dyn2 0.00 3673920 89.54 2 0.1106 fatigue2 0.00 3691256 74.34 2 0.0921 induct2 0.00 4062312 57.87 2 0.1348 linpk 0.00 3591984 5.59 2 0.0358 mp_prop_desi 0.00 3966920 93.99 2 0.0654 nf 0.00 3622112 9.27 2 0.0324 protein 0.00 3832280 22.10 2 0.1289 rnflow 0.00 4129984 23.49 2 0.7449 test_fpu2 0.00 3940944 53.29 2 0.2561 tfft2 0.00 3622040 36.56 2 0.1026 Geometric Mean Execution Time = 24.33 seconds --00000000000035e5c505f664ba27--