This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15986] gfc_get_symbol_decl: Assertion `sym->attr.referenced' failed
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2004 18:27:16 -0000
- Subject: [Bug fortran/15986] gfc_get_symbol_decl: Assertion `sym->attr.referenced' failed
- References: <20040614132710.15986.jss@ast.cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2004-07-11 18:27 -------
Current sources give the following error:
In file pr15986.f90:1353
call DVERK(dum,nw,ION,zstart,y,zend,tol,ind,cw,nw,w)
1
Error: Symbol 'ion' at (1) has no IMPLICIT type
Moving the subroutine ion in front of InitRECFAST fixes the problem. This is
indeed a bug. Reduced testcase:module m
contains
subroutine a
implicit none
call sub(b)
end subroutine a
subroutine b() ! moving this subroutine in front of a fixes the problem
return
end subroutine b
end module m
Please try to reduce testcases instead of submitting 1550 lines of code of which
1540 are easily eliminated.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-11 18:27:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15986