[Bug c++/15038] [3.4/3.5 Regression] ICE on template instantiation

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 21 11:44:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-21 11:34 -------
Confirmed, reduced to:
struct y
{
    template<typename T>
    inline y( T bytes )
    {}
};
bool operator!=( const y &x, const y &y );
enum {
 Render_modify
};
int m_render_type;
void t()
{
  (m_render_type != Render_modify);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-21 11:34:09
               date|                            |
            Summary|ICE on template             |[3.4/3.5 Regression] ICE on
                   |instantiation               |template instantiation
   Target Milestone|---                         |3.4.1


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



More information about the Gcc-bugs mailing list