From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1773 invoked by alias); 17 Jan 2010 21:34:46 -0000 Received: (qmail 1708 invoked by uid 48); 17 Jan 2010 21:34:28 -0000 Date: Sun, 17 Jan 2010 21:34:00 -0000 Message-ID: <20100117213428.1707.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/42769] [4.5 Regression] ICE in resolve_typebound_procedure In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg02115.txt.bz2 ------- Comment #14 from janus at gcc dot gnu dot org 2010-01-17 21:34 ------- (In reply to comment #10) > mod1 > 1 > Error: Unclassifiable statement at (1) Sorry, this is due to a wrapped comment in comment #8. Let's try it again: module mod1 type :: t1 contains procedure, nopass :: get => my_get end type contains logical function my_get() end function end module module mod2 contains logical function my_get() end function end module module mod3 contains subroutine sub(a) use mod2, only: my_get use mod1, only: t1 type(t1) :: a end subroutine end module use mod2, only: my_get use mod3, only: sub end This fails with the same error message as comment #1 (with "use psb_error_mod" removed). PLUS, it ICEs also with 4.4. So, no regression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42769