From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D5DD3858C54; Fri, 10 Mar 2023 07:28:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D5DD3858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678433304; bh=TWb3LAFVI6FPHQjs0lFi/q73C/Jij2MKegy9upo1Tuw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=o6fH+rBdY7nO/QJjnkzd3oIQPp9M5jeV0RtzwV7GSSrTAtgGqpfXfvRuICltEiY1m Uvm36tky2+ugJresJWdGAeguFvjxX0P3JyJfNofngJeeZUKLy5xPYQlytA28wbB/0/ esCs5DeRfVYIuf6mjdnipm+r6gBKYakta2Wio8fw= From: "federico.perini at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/109076] class extending abstract type with deferred procedures, with another unrelated procedure interface, crashes on valid code Date: Fri, 10 Mar 2023 07:28: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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: federico.perini at gmail dot com 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=3D109076 --- Comment #2 from federico --- Sorry I meant it does not compile what I think is valid code:=20 subroutine i_expand matches the given abstract interface exactly, I can't f= ind a shape mismatch. I wound two ways that will make the error go away:=20 - remove `interpolator` from the import statement in the abstract interface (was not being used) - change the name of the subroutine to a shorter one, in a non-deterministic way=