This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug in egcs with C++?


> foo::__vtbl                     ttt.o
> [Hint: try checking whether the first non-inlined, non-pure virtual function of class foo is defined]
> 

Maybe we could do better than that. When emitting the reference to
'foo virtual table', the compiler knows *exactly* what function needs
to be defined in order to get the virtual table.

If that knowledge was communicated into the object file, the linker
could give a better hint how to obtain the symbol (how exactly does
.gnu.warning work?).

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]