------- Comment #1 from pinskia at gcc dot gnu dot org 2010-06-20 01:02 ------- I think this code is undefined as the type of this at the point which getI is called is only Interface<S>* and not S* as f takes a non pointer/reference type of Interface<C>.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44599