From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D2F83856972; Sun, 25 Sep 2022 12:48:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D2F83856972 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664110092; bh=jjqcuV0WFjYlpfgtTkzlzqcKM0jszYZGa4Z5taVxozM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XTFhRQ1580Rw4dQxfkerfataETwEthA4mKy1hxDgIe70S2s6diOkhcVolYwDIQqBe EHfSWO0Mz0DXm1D4brNkPr9ZfIjobTFU2qc5VWLg68fidn3h9ulGMvwEJN7GgU72E8 EVfhxLJsiJDBBO76SG6QQ7dnUkJj67FWnLjMFF/c= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/105012] [12/13 Regression] wrf from SPECCPU2017 ICEs during LTO linking since r12-7692-g8db155ddf8cec9 Date: Sun, 25 Sep 2022 12:48:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: mikael at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105012 --- Comment #33 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:20aa1eb6cb84e6a0487b47b28b00109c5f46a7e2 commit r13-2836-g20aa1eb6cb84e6a0487b47b28b00109c5f46a7e2 Author: Harald Anlauf Date: Wed Aug 31 11:50:35 2022 +0200 fortran: Support clobbering with implicit interfaces [PR105012] Before procedure calls, we clobber actual arguments whose associated dummy is INTENT(OUT). This only applies to procedures with explicit interfaces, as the knowledge of the interface is necessary to know whether an argument has the INTENT(OUT) attribute. This change also enables clobber generation for procedure calls without explicit interface, when the procedure has been defined in the same file because we can use the dummy arguments' characteristics from the procedure definition in that case. The knowledge of the dummy characteristics is directly available through gfc_actual_arglist=C3=A2s associated_dummy pointers which have been pop= ulated as a side effect of calling gfc_check_externals. PR fortran/105012 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_conv_procedure_call): Use dummy information from associated_dummy if there is no information from the procedure interface. gcc/testsuite/ChangeLog: * gfortran.dg/intent_optimize_5.f90: New test. Co-Authored-By: Mikael Morin =