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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2005 00:41:59 -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 pinskia at gcc dot gnu dot org 2005-06-06 00:41 -------
Fixed in 4.0.1, we no longer get an internal error:
In file t.f:3
subroutine foo(i)
1
Error: PROGRAM attribute conflicts with PROCEDURE attribute at (1)
In file t.f:4
integer :: i
1
Error: Unexpected data declaration statement in CONTAINS section at (1)
In file t.f:5
character(len=selected_int_kind(i)) :: c
1
Error: Unexpected data declaration statement in CONTAINS section at (1)
In file t.f:6
end subroutine bar
1
Error: Expecting END PROGRAM statement at (1)
In file t.f:5
character(len=selected_int_kind(i)) :: c
1
Error: Expression at (1) must be of INTEGER type
In file t.f:5
character(len=selected_int_kind(i)) :: c
1
Error: Expression at (1) must be of INTEGER type
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18923