g++ unref symbols

Alexandre Oliva aoliva@redhat.com
Wed Aug 2 16:15:00 GMT 2000


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



More information about the Gcc-bugs mailing list