------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-08 
01:34 -------
Fixed already in 3.3.2.  Here is the reduced testcase:
namespace std
{
class ostream;
}
template<int d1>
struct Size{
        friend std::ostream& operator << <>(std::ostream &os,const Size &me);
  int v;
};

std::ostream& operator <<(std::ostream &os,const Size<1>& me){
        os<<me.v <<" m";
        return os;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-on-invalid-code
         Resolution|                            |FIXED
            Summary|Internal compiler error in  |[3.3 Regression] Internal
                   |lookup_template_function    |compiler error in
                   |                            |lookup_template_function
   Target Milestone|---                         |3.3.2


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

Reply via email to