From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 66A68385DC1C; Sat, 25 Apr 2020 15:59:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 66A68385DC1C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587830364; bh=qqOyGXA0OKQmcrXE4p9ff9q1lAXLGkdwkHDdHNBoNQQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OyJeZPwctkNN50pchoLkc5lPircL5PwV2+1mN+ryO+Gpm0hbKWri0c1bm3zFwG/PS bSfqqC8Ere7hWABp97edbRIlzB4cuam5p7Mr/7zLN8XzzjEizKIpLExXbxEVhQ1qNI SiAaMzML+Blt3PojuseylBAw1aSVsoG0s+fgjei4= From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/93924] ICE in gfc_class_len_get at trans_expr.c:231 with function returning a procedure pointer Date: Sat, 25 Apr 2020 15:59:24 +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.1.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2020 15:59:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93924 --- Comment #2 from Dominique d'Humieres --- Up to revion r242391 I get the error: function selector() result(f) 1 Error: CLASS variable 'f' at (1) must be dummy, allocatable or pointer pr93924.f90:29:19: function apply(f, x) result(y) 1 Error: CLASS variable 'f' at (1) must be dummy, allocatable or pointer pr93924.f90:51:4: use cs 1 Fatal Error: Can't open module file 'cs.mod' for reading at (1): No such fi= le or directory compilation terminated. I see the ICE at revision r242749.=