This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ unref symbols
- To: Petr Ovchenkov <ptr at ParaGraph dot Ru>
- Subject: Re: g++ unref symbols
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 02 Aug 2000 20:14:14 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <14728.14999.948376.245409@gargle.gargle.HOWL>
On Aug 2, 2000, Petr Ovchenkov <ptr@ParaGraph.Ru> wrote:
> Compiler specs (indeed problem exist on all gcc compilers since
> 2.95.2, don't now about earlier versions):
You'll see somewhere in the docs that GCC emits out-of-line copies of
every inline member-function of a class in the translation unit in
which the first non-inline non-abstract virtual member-function is
defined, if there is one. This is a valid optimization because every
non-abstract virtual member-function must be defined.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me