------- Comment #2 from dave dot allured at noaa dot gov 2008-10-02 00:32 ------- Confirmed this problem for gcc 4.3.1 on Mac OS 10.5.5.
A workaround, and recommended best practice for new code, is to make arrays in modules allocatable, i.e. don't declare statically dimensioned large arrays. Then you must add allocate statements at the appropriate initialization locations. This is a problem for legacy fortran 90+ code because adding code for dynamic allocation can spawn bugs. The preferred solution is that uninitialized variables should never occupy physical space in object files. My thanks to whomever can work on this fix. --Dave A. -- dave dot allured at noaa dot gov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dave dot allured at noaa dot | |gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33120