From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 036C33811583; Fri, 16 Sep 2022 19:06:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 036C33811583 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663355193; bh=1U+MTUhV7f/F5kyYnnQ7YdybjrlizyYBY5Ff5g/p7ls=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dGfru9e/zRgG/ibZlecDC64fqH6uCfv/GK+TvAFhB6PuHeaju2efuZ54dbSL/o4EK g51LXyejSk67n2SxAX0RjhvYRC3FuUwiF5gDs4DKnmYsMdpbf0BACDxj4Vuuzka4E+ w1tJIJjplqO2GZ15jObRINIAiudNhr28A/Xv1mcM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/100245] ICE on automatic reallocation Date: Fri, 16 Sep 2022 19:06:32 +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: 11.0 X-Bugzilla-Keywords: patch 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: jrfsousa at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D100245 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9035eaaf028ca609660f1f55c0d9f22fb7d3b797 commit r12-8768-g9035eaaf028ca609660f1f55c0d9f22fb7d3b797 Author: Jos=C3=A9 Rui Faustino de Sousa Date: Fri Sep 2 21:35:22 2022 +0200 Fortran: Fix ICE with automatic reallocation [PR100245] gcc/fortran/ChangeLog: PR fortran/100245 * trans-expr.cc (trans_class_assignment): Add if clause to hand= le derived type in the LHS. gcc/testsuite/ChangeLog: PR fortran/100245 * gfortran.dg/PR100245.f90: New test. (cherry picked from commit 504424f33771be0405454e7845219d5df1bb88bb)=