This is the mail archive of the gcc@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]

Re: G77 question


Duane Gustavus wrote:

r2compLi.f:16: complex*16 scrap(ldims,maxn)
^
Array `scrap' at (^) is too large to handle

Changing the array values from scrap(2180,15400) to scrap(2170,15400) will
allow the program to compile without error. I believe the array size crosses
the 512meg boundry between those two declarations, and suppose that is the
source of the "too large to handle" message. I tried a similar sized array
in gcc and see no compiler errors messages. I have tried this on several
Intel/AMD systems (all 32bit architecture) and would like to be running it
on one with 2G ram which it seems should easily handle this array.
Indeed - this restriction is removed in GCC/g77-3.1 and onwards.

--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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