This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]