------- Comment #8 from fxcoudert at gcc dot gnu dot org 2009-12-29 21:34 ------- This is not a Fortran issue, but a generic Darwin issue:
$ cat a.c int x[9999999] = { 0 }; $ gcc -c a.c && ll a.o -rw-r--r-- 1 fx wheel 38M Dec 29 22:32 a.o On Linux, for example, we don't get such a large object file as x is put in the BSS section. Seems like this does not happen on darwin. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org Last reconfirmed|2007-10-05 12:45:37 |2009-12-29 21:34:35 date| | Summary|Large module object files |Data not put in BSS section |when declare arrays on Mac |on Mac OS |OSX | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33120