From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29418 invoked by alias); 7 Jun 2006 03:13:38 -0000 Received: (qmail 29268 invoked by uid 48); 7 Jun 2006 03:13:05 -0000 Date: Wed, 07 Jun 2006 03:17:00 -0000 Message-ID: <20060607031305.29267.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/18923] segfault after subroutine name confusion In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00756.txt.bz2 List-Id: ------- Comment #5 from jvdelisle at gcc dot gnu dot org 2006-06-07 03:13 ------- This is no longer giving a segfault on i686-pc-linux-gnu. In file foo.f90:3 subroutine FOO 1 Error: MODULE attribute conflicts with PROCEDURE attribute at (1) In file foo.f90:4 integer :: I 1 Error: Unexpected data declaration statement in CONTAINS section at (1) In file foo.f90:5 character(len=selected_int_kind(I)) :: C 1 Error: Unexpected data declaration statement in CONTAINS section at (1) In file foo.f90:6 end subroutine 1 Error: Expecting END MODULE statement at (1) In file foo.f90:7 end 1 Internal Error at (1): gfc_get_default_type(): Bad symbol Maybe this is good enough? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18923