From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E4D3B395B08F; Thu, 23 Apr 2020 19:47:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4D3B395B08F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587671261; bh=suDL7SKJEk+Alurykx++3tTbC6pl0FiWeCScVH+Lnm4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AylqDNy4CVMo+Uihr+K+XOl2e7ueCCovV6cg5bVoSc/rla/b9FyJgzLSBEDTT8Juu fv1HbaV/goHYLFCe9GjP3L9YOsIAHJchIndxH20bfsNujEouHBCgfmntRKP+e9PhU8 7Ewrp6hx6cUstnVLnfVp23VdHMwG74U7JFMoAXDE= From: "meissner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/91512] [10 Regression] Fortran compile time regression. Date: Thu, 23 Apr 2020 19:47:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: meissner at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 19:47:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D91512 --- Comment #31 from Michael Meissner --- For the Spec 2017 521.wrf_r benchmark on little endian PowerPC power9 syste= ms, there was no difference in runtime between a normal run using -Ofast -mcpu=3Dpower9 and one with -Ofast -mcpu=3Dpower9 -fno-inline-arg-packing. Of the seven rate benchmarks in Spec 2017 that use Fortran (548.exchange2_r, 503.bwaves_r, 507.cactuBSSN_r, 521.wrf_r, 527.cam4_r, 549.fotonik3d_r, and 554.roms_r) none of them vary by more tha 0.7% depending on whether the swi= tch is used or not. I used the compiler checked out from the master branch on March 27, 2020 to build and run the benchmarks. As others have said, using -fno-inline-arg-packing does dramatically reduce= the time it takes to compile 521.wrf_r.=