This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18923] segfault after subroutine name confusion
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2006 03:13:05 -0000
- Subject: [Bug fortran/18923] segfault after subroutine name confusion
- References: <bug-18923-9515@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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