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]

It's back, the negative dimension problem


Version: egcs-1.0.3a made in .../objdir and installed over egcs-1.0.2
(which did not give this error)
Machine: alpha-axp running RedHat Linux 5.0 with 2.1.82 kernel


I'm seeing lots of the following type of report.


g77 -fno-globals -g -c addtar.f
addtar.f: In subroutine `addtar':
addtar.f:2:
         Subroutine
AddTar(NA,NB,LA,LB,LAmin,LAmax,LBmin,LBmax,NOrb,nTaCls,
                                                               ^
Array `norb' at (^) is too large to handle
make: *** [addtar.o] Error 1

Code:
***************************************************************
*Deck AddTar
      Subroutine AddTar(NA,NB,LA,LB,LAmin,LAmax,LBmin,LBmax,NOrb,nTaCls,

     $  nTargt,nNoScl,TarCls)
      Implicit Integer(A-Z)
C
C     Add a range of target bra/ket classes given the N and L values.
C
      Dimension NOrb(-1:*), TarCls(6,*)
C
      n1 = Norb(NA) - Norb(NA-1)
..................................................................

--
Bob Williams, http://bob.usuf2.usuhs.mil/





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