------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-19 
02:41 -------
Confirmed, reduced testcase:
template <typename ArrayType>
void foo( )
{
    int i = 0;

  switch ( i )
  {
  case 9:
  default:
  break;
  }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|Unknown                     |
   GCC host triplet|Unknown                     |
 GCC target triplet|Unknown                     |
           Keywords|                            |diagnostic
      Known to fail|                            |4.0.0 4.1.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-19 02:41:50
               date|                            |
            Summary|-Wswitch-default reports    |[4.0/4.1 Regression] -
                   |missing default in a        |Wswitch-default reports
                   |template that has one       |missing default in a
                   |                            |template that has one
   Target Milestone|---                         |4.0.2


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

Reply via email to