From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9FC80385115B; Sun, 25 Sep 2022 12:48:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9FC80385115B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664110102; bh=rzEYhBqF+u6XL1emrmwofxrEv6mnvdbMd4Gc95ajbwg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ncsaeggFnGut0/kpdi5u1z6CVVQbuule8rs5NeuIaIjM+BSipdSPlfPWuUMJ4du9b GA8BJ6TCfVjZt/b5mtximKJ57wCVCyRc6mVYjtuv5JOFnv5KGtpv1rERB6f0ss1hGV y3usgBEOLgEBfX/YN06Xpme+M341KE74XHKmRExw= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87395] [9 Regression] ICE in in lookup_field_for_decl with whizard Date: Sun, 25 Sep 2022 12:48:22 +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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: 9.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87395 --- Comment #10 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:467ef2c40dbaf9d1219d9642e90df77dc61f4fae commit r13-2838-g467ef2c40dbaf9d1219d9642e90df77dc61f4fae Author: Mikael Morin Date: Wed Aug 31 11:54:47 2022 +0200 fortran: Support clobbering of SAVE variables [PR41453] This removes a condition added in: r9-3032-gee7fb0588c6361b4d77337ab0f7527be64fcdde2. That commit added a condition to avoid generating ICE with clobbers of variables with the SAVE attribute. The test added at that point continues to pass if we remove that condition now. PR fortran/41453 PR fortran/87395 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_conv_procedure_call): Remove condition on SAVE attribute guarding clobber generation. gcc/testsuite/ChangeLog: * gfortran.dg/intent_optimize_7.f90: New test.=