bug in g77
Steven Castillo
scastill@nmsu.edu
Wed Feb 14 16:28:00 GMT 2001
On Tue, 13 Feb 2001, Toon Moene wrote:
> Steven Castillo wrote:
>
> > I am trying to run some fortran codes requiring very large arrays (~ 1
> > gbyte). When trying to compile a fortran code with a declared single
> > precision floating point array having a length of more than 134217727
> > using the command:
>
> Yes, this is a well-known limitation of g77: It calculates all sizes of
> objects in bits, so on 32-bit targets, the size of a REAL array is
> limited to 2**32/32 - 1= 2**27 - 1 = 134217728 - 1 = 134217727 elements.
>
> Your choices:
>
> 1. Help us fix this.
>
> 2. Switch to a 64-bit target, like Alpha.
>
> [ Hint: The latter may be cheaper ]
>
>
Hello Toon:
Thank you for your prompt reply! I think that you pose an interesting
problem that we may want to take a look at. I am not sure I agree with
your second possible solution. Give me a hint at where in the source code
to look and we may give it a shot.
Regards,
--
Steve Castillo
Professor and Department Head
Klipsch School of Electrical and Computer Engineering
New Mexico State University
scastill@nmsu.edu
(505)646-3117
More information about the Gcc-bugs
mailing list