From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 08D4E3858D38; Sat, 24 Sep 2022 19:45:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 08D4E3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664048722; bh=GynCwxa8emzaiA+zEtF10kHqOBVgOSu32QmJ3vCz7Cs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FNkE/5BD8AXMX3SuEBCk7bPVuWeerba4iSRkSEiI9p1hC/Xfoig1XtrTwvnpMrn94 rjpDcSvalSY/m2D/vbm2I+563TumTuai4IiOmfIGNQ1UVjJZAAIxwSujYveThdMibb amy4xOwMsEkK7UGxjpO1P0CHc7nrMxWQmCB7Wwss= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/102900] ICE via gfc_class_data_get with alloc_comp_class_4.f03 or proc_ptr_52.f90 using -fcheck=all Date: Sat, 24 Sep 2022 19:45:20 +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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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=3D102900 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #5) > (In reply to anlauf from comment #4) > > The ICE is resolved by Jose's patch to PR100136, which was just accepte= d. Update: with current mainline (PR100136 now fixed), the runtime failure of alloc_comp_class_4.f03 with -fcheck=3Dall is due to a missing allocate in function c_init2. Adding allocate (c_init2) resolves this. This testcase is thus incompatible with -fcheck=3Dpointer. > ... but not for proc_ptr_52.f90 with -fcheck=3Dpointer This one remains.=