From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE2C53858D1E; Fri, 23 Dec 2022 20:42:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE2C53858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671828178; bh=XoD7julfurl2JpDxh/fYjd/VmWiVd66RuzzFyZfSn6Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BvulDKxzLMPbkKpvnIVsYhmgHJsUbO8ciuyBKhl62RZMnuqVfdB8+ezcF40334f5g S4p1l3TPWnkSOgtKPGk83yHYzqeKp6qlfD3im7zPnsQNbtGuvccMe3SFO7u3jREUkn UZgiGBeV8bsVgZnE/+NGdTFoqKIJH3PN5RLYCfIc= From: "federico.perini at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/106731] ICE on automatic array of derived type with DTIO Date: Fri, 23 Dec 2022 20:42:58 +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.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: federico.perini at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jvdelisle 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=3D106731 --- Comment #11 from federico --- Thank you.=20 I can confirm the patch works. I thought that, while fixing the issue, removing the assert was not the best solution as automatic arrays are not supposed to be static. My bad. Happy holidays,=20 Federico=