From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2818E3858C20; Mon, 29 Aug 2022 17:21:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2818E3858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661793718; bh=zA1iWSKINdBuM1mGsvGvBxtWAIWpj1OZLnv/N9et/DU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DCZk2w9r4Yrs3TW0IOtDyQrJcobT1EkDk+1UwPijqwea9k60GQgRgXO/IQk/IkN2A BN5aMdhzMLl4Pkqm5n6uc1ebJpyA5Lga9zdEriyTfhHM6wk2rodgAMjzKr0HcuwemH eiBBE8Ft3Cq2uyWVYx3s2I1ACIh2l6nL0MGEo7GM= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/106771] [OOP] ICE with PACK intrinsic, in gfc_conv_expr_descriptor, at fortran/trans-array.c:7328 Date: Mon, 29 Aug 2022 17:21:57 +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.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc cf_known_to_fail cf_known_to_work cf_reconfirmed_on everconfirmed bug_status keywords 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=3D106771 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org Known to fail| |8.5.0 Known to work| |10.4.0, 11.3.0, 12.2.0, | |9.5.0 Last reconfirmed| |2022-08-29 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Keywords| |ice-on-valid-code --- Comment #1 from anlauf at gcc dot gnu.org --- Funny. Replacing ilocs =3D pack(this%iloc(IDs),this%is_active(ilocs)) by ilocs =3D pack(this%iloc(IDs),[this%is_active(ilocs)]) seems to be a workaround for gcc-8 - at least as far as the ICE is concerne= d. (The testcase crashes at runtime with any compiler I tried, so I guess it was reduced too much for this.) I don't see any issues on mainline, even when running under valgrind, so I guess the issue was fixed. Does anybody want to do a bisection to find the commit which fixed it?=