g77 large array
Toon Moene
toon@moene.indiv.nluug.nl
Tue Oct 14 21:30:00 GMT 2003
Susukita Ryutaro wrote:
> This may not be a bug, but I hope it will be fixed.
[ ... Segmentation fault .... ]
> CALL A
> CALL B
> END
>
> SUBROUTINE A
> INTEGER I(33554432)
> I(33554432) = 0
> END
>
> SUBROUTINE B
> INTEGER I(8388608)
> END
Note that this program needs ~ 4 * (33.5 + 8.4) = 4 * 42 = 168 Mbyte of
RAM+SWAP. What's the size of your machines' RAM + SWAP ?
--
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
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)
More information about the Gcc
mailing list