[Bug fortran/15986] gfc_get_symbol_decl: Assertion `sym->attr.referenced' failed

tobi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 11 18:27:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list