On 08/12/2013 08:16 AM, Jan Hubicka wrote:
With multiple inheritance I need to adjust offsets.
It's not clear to me that you need to worry about that in your search. A call through a particular vptr can only call overrides that go into a vtable that vptr can point to, and you can look up any thunk adjustments from the vtable.
+ /* First skip wrappers that C++ FE puts randomly into types. */ + while (TREE_CODE (t) == TYPE_DECL + && DECL_ORIGINAL_TYPE (t))
How can you get a decl in your types array? Jason