This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] Avoid one place of frontend calling into targetm
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Jan Hubicka <jh at suse dot cz>, Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 05 May 2007 22:08:26 -0400
- Subject: Re: [C++] Avoid one place of frontend calling into targetm
- References: <20070423001523.GJ23507@kam.mff.cuni.cz>
The difference in assembly for init/copy3.C is an additional
global constructor that calls the first global constructor
_Z41__static_initialization_and_destruction_0ii:
...
_GLOBAL__I_copies:
...
bl ._Z41__static_initialization_and_destruction_0ii
_GLOBAL__I_0_copies:
...
bl ._GLOBAL__I_copies
David