[Bug c++/44599] very basic recurring template only works when using g++ -O option
--- Comment #2 from gcc at razorcam dot com 2010-06-20 01:37 --- Thanks. Yes, using &obj does work. Sorry for this bug report from me. Bug resolved: invalid. -- gcc at razorcam dot com changed: What|Removed |Added --
[Bug c++/44599] very basic recurring template only works when using g++ -O option
--- 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* and not S* as f takes a non pointer/reference type of Interface. -- http://gcc.gnu.org/bugzilla/show_bug.cg