------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-12 
23:06 -------
The code is invalid:
t.cc: In instantiation of ‘S& Test<S>::myS’:
t.cc:32:   instantiated from ‘static void Test<T>::out() [with T = S]’
t.cc:40:   instantiated from here
t.cc:49: error: cannot call member function ‘S& S::instance()’ without object


This is fixed for 4.0.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-invalid-code
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20980

Reply via email to