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]

Re: Arraysizes in g77 (gcc-2.95.2)


> 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

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