This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]