This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
It's back, the negative dimension problem
- To: egcs-bugs at cygnus dot com
- Subject: It's back, the negative dimension problem
- From: Robert Williams <bob at bob dot usuf2 dot usuhs dot mil>
- Date: Sat, 06 Jun 1998 14:50:37 -0400
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/