This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: constructors/destructors compiled twice
- From: Ryan Mansfield <rmansfield at qnx dot com>
- To: KÃvesdi GyÃrgy <kgy at deverto dot hu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 20 Jun 2007 14:55:22 -0400
- Subject: Re: constructors/destructors compiled twice
- References: <200706201836.02600.kgy@deverto.hu>
- Reply-to: rmansfield at qnx dot com
KÃvesdi GyÃrgy wrote:
Hi,
I would like to use C++ for 8-bit AVR CPUs, so saving space would be
important.
I found that the constructors and destructors always have two instances, which
are exactly the same. I tried it for X86, X86/64, M68k, and AVR platforms,
with the same result, so it is not platform-dependent.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3187
Regards,
Ryan Mansfield