This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g77 large array
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Susukita Ryutaro <susukita at postman dot riken dot go dot jp>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 14 Oct 2003 22:36:58 +0200
- Subject: Re: g77 large array
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <200310140717.QAA19107@mailman.riken.go.jp>
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)