This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug? Where are these emitted?? (type_info, virtual table, etc)
- To: oliva at dcc dot unicamp dot br (Alexandre Oliva)
- Subject: Re: Bug? Where are these emitted?? (type_info, virtual table, etc)
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Tue, 6 Oct 98 13:08:15 PDT
- Cc: pedwards at ball dot com, egcs at cygnus dot com
> gcc will emit the virtual table of a class in the translation unit
> that contains the definition of the first non-inline non-abstract
> member function. Strangely, this is heuristics is documented as
> enabled only if -fvtable-thunks is enabled, but it is not enabled by
> default on Solaris.
Then this is a documentation bug ... it appears that gcc always does
this, whether or not -fvtable-thunks is specified.