g77 large array

Susukita Ryutaro susukita@postman.riken.go.jp
Thu Oct 16 08:12:00 GMT 2003


> > However, g77 (like all of GCC) is free software.  You can up the limit 
> > yourself (and rebuild the compiler).  The limit is in the file 
> > gcc/f/com.c, constant FFECOM_sizeMAXSTACKITEM.
> >
> > Hope this helps,
> 
> Not me; just delurked for a moment to help susukita...let us know what 
> you come up with....

Thank you for useful information on large arrays in Fortran compilers.
If I change FFECOM_sizeMAXSTACKITEM to solve the problem, I must
request other users to change FFECOM_sizeMAXSTACKITEM and rebuild g77
when I distribute the program as a source. It is usually difficult.
But changing FFECOM_sizeMAXSTACKITEM is a solution when I use the
program only on my environment.

SUSUKITA, Ryutaro
The Institute of Physical and Chemical Research (RIKEN)
Computational Astrophysics Laboratory



More information about the Gcc mailing list