From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 21FDF3858C52; Wed, 21 Sep 2022 17:32:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 21FDF3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663781574; bh=thhLMbBbxLljDP41JKvKq8/XN66I0+LQpQqZckdHhTQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i5/cAs5KZic+UE1rRfMD2+Xe7ZblkUSMWZLuinw4Uojh7LJyBET9SoJ1H1VAyayic xxQVoI1n50UvdJgGVt4y3B3THGE28tBHB6GGPe6evoE/7WW0Byo0cDTbYmwMLI2kmn uiZzK7zeu0deqDc7WyJSSTqVMTLOF8DJN0v3ZrNA= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/106999] [11/12/13 Regression] ICE tree check: expected record_type or union_type or qual_union_type, have function_type in gfc_class_data_get, at fortran/trans-expr.cc:233 Date: Wed, 21 Sep 2022 17:32:54 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED 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=3D106999 --- Comment #1 from G. Steinmetz --- FYI, a directly matching variant compiles : $ cat z2.f90 program p type t procedure(g), pointer :: f end type class(t), allocatable :: z call s(z%f) contains subroutine g(x) class(t) :: x end subroutine s(x) procedure(g) :: x end end=