-fvtable-gc
Richard Henderson
rth@redhat.com
Sun Feb 11 20:15:00 GMT 2001
So I was attempting this afternoon to implement the thing properly,
i.e. with notes and calls into varasm.c instead of random asm hackery
in cp/foo.c. But I was defeated in my quest to figure out how to
differentiate method calls from normal calls, and member address
taking at all.
What is METHOD_CALL_EXPR if not for calling methods? If I have
struct F { virtual void foo(); };
void bar(F *f) { f->foo(); }
I get a CALL_EXPR. If I have
typedef void (F::*F_ptr)();
F_ptr baz() { return &F::foo; }
I get an OFFSET_REF, which isn't actually documented anywhere,
and I can't figure out what it means exactly.
r~
More information about the Gcc
mailing list