This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Fortran - trunk, committed] Document new treatment of large arrays in the news section.
- To: gcc-patches at gcc dot gnu dot org
- Subject: [Fortran - trunk, committed] Document new treatment of large arrays in the news section.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Mon, 29 Oct 2001 18:46:41 +0100
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
L.S.,
I committed the following to f/news.texi, to document the new ability of
g77 to compile programs with large arrays on 32-bit targets [in the news
section]:
*** news.texi.orig Fri Oct 5 22:27:05 2001
--- news.texi Mon Oct 29 16:22:25 2001
***************
*** 10,14 ****
@set copyrights-news 1995,1996,1997,1998,1999,2000,2001
! @set last-update-news 2001-10-05
@include root.texi
--- 10,14 ----
@set copyrights-news 1995,1996,1997,1998,1999,2000,2001
! @set last-update-news 2001-10-29
@include root.texi
*************** The following information was last updat
*** 156,159 ****
--- 156,180 ----
@itemize @bullet
@ifclear USERVISONLY
+ @item
+ g77 used to reject the following program on 32-bit targets:
+ @smallexample
+ PROGRAM PROG
+ DIMENSION A(140 000 000)
+ END
+ @end smallexample
+ with the message:
+ @smallexample
+ prog.f: In program `prog':
+ prog.f:2:
+ DIMENSION A(140 000 000)
+ ^
+ Array `a' at (^) is too large to handle
+ @end smallexample
+ because 140 000 000 reals is larger than the largest bit-extent that
can be
+ expressed in 32 bits. However, bit-sizes never play a role after
offsets
+ have been converted to byte addresses. Therefore this check has been
removed.
+ Note: On GNU/Linux systems one has to compile programs that occupy
more
+ than 1 Gbyte statically, i.e.@: g77 -static ...
+
@item
Based on work done by Juergen Pfeifer
(@email{juergen.pfeifer@@gmx.net})
--
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)