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: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2005 19:26:23 -0000
- Subject: [Bug fortran/18923] segfault after subroutine name confusion
- References: <20041210130028.18923.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-05-22 19:26 -------
There is no segfault any more:
$ gfc pr18923.f90
In file pr18923.f90:3
subroutine foo(i)
1
Error: PROGRAM attribute conflicts with PROCEDURE attribute at (1)
In file pr18923.f90:4
integer :: i
1
Error: Unexpected data declaration statement in CONTAINS section at (1)
In file pr18923.f90:5
character(len=selected_int_kind(i)) :: c
1
Error: Unexpected data declaration statement in CONTAINS section at (1)
In file pr18923.f90:6
end subroutine bar
1
Error: Expecting END PROGRAM statement at (1)
In file pr18923.f90:7
end program foo
1
Internal Error at (1):
gfc_get_default_type(): Bad symbol
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-12-14 22:35:13 |2005-05-22 19:26:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18923