The following program fails:

----------------------
subroutine io_bug()
  integer :: a(10)
  print *, lbound(a)
end subroutine io_bug
----------------------

Command:
   gfortran -c gfortran-bug.f90

Error msg:

gfortran-bug.f90: In function `io_bug':
gfortran-bug.f90:3: fatal error: gfc_todo: Not Implemented: Unable to determine rank 
of expression
compilation terminated.

Version:

GNU Fortran 95 (GCC 3.5.0 20040714 (experimental))

Platform:

Mac OS X

-- 
           Summary: Parser failure in printing of array intrisics (lbound)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: crasmussen at lanl dot gov
                CC: crasmussen at lanl dot gov,gcc-bugs at gcc dot gnu dot
                    org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18003

Reply via email to