This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33120] Data not put in BSS section on Mac OS
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Dec 2009 21:34:35 -0000
- Subject: [Bug target/33120] Data not put in BSS section on Mac OS
- References: <bug-33120-14995@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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