https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754
--- Comment #4 from Martin ---
Some additional reading hinted me how the intermediate representation can be
help or is enough in itself to reproduce the bug.
I have attached the intermediate representation for the Derived object file, by
adding
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754
--- Comment #3 from Martin ---
Created attachment 50898
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50898&action=edit
Intermediate representation of "Derived" class.
Achieved by adding -save-temps to the g++ compile line.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754
--- Comment #2 from Martin ---
Hi Richard,
Thanks for the quick response. I had to do a bit of research to try to properly
express my suspicions.
1st the function from the dispatch table is properly called. Not problems
there:
01a4 <_ZThn4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754
--- Comment #1 from Richard Biener ---
IIRC inheritance across shared library borders is problematic. You might want
to check how vtables resolve.