This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug]: non-static arrays stored in object file
- To: Steve McAndrewSmith <steve at finagle dot org>
- Subject: Re: [Bug]: non-static arrays stored in object file
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 29 Jul 1999 12:27:40 -0600
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <37A07BFA.D49F9AB9@finagle.org>you write:
> Yikes! It appears to be storing the entire *uninitialized* array in the
> object file (this gets even more exciting if the array is a structure,
> and padding makes the array even larger).
This is a side effect of the C++ standard not allowing common variables.
jeff