This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Arraysizes in g77 (gcc-2.95.2)
- To: andre dot albsmeier at mchp dot siemens dot de
- Subject: Re: Arraysizes in g77 (gcc-2.95.2)
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 27 Jan 2000 21:16:26 +0100
- CC: gcc at gcc dot gnu dot org
- References: <20000127071058.A32466@internal>
> Now my question: Do you know if I can simply bump some number
> in some file of GCC to increase this limit a bit?
I don't know much about fortran, but you may want to check the release
branch. One problem in gcc is that the array size is represented in
the number of bits, so that value probably overflows if the array gets
larger than 512 MB. I found the same problem in g++, and the g++
mainline has fixed it. I'm not sure whether the fix was specific to
C++, or whether that was a back-end thing, though.
In any case, there is probably not much you can do about it, if the
cause is really that integer flows over.
Regards,
Martin