This is the mail archive of the gcc-bugs@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: the shared library demands virtual methods?!


> > Can anyone reproduce this?
> You did not mention the architecture. I get

Sorry.  Linux/AXP.
I'm at loss why the compiler generates code here.
Actually, the assembler source code looks like it constructs the vtable.
It does this:

        lda $3,blubb__5fubar
        stq $3,0($2)

Felix


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