| Subject: | [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one |
|---|---|
| From: | "pinskia at gcc dot gnu dot org" |
| Date: | 19 Sep 2005 02:41:51 -0000 |
------- 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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug c++/23959] -Wswitch-default reports missing default in a template that has one, rlibiez at arthmoor dot com |
|---|---|
| Next by Date: | [Bug libstdc++/22612] linking error while compiling ddd, a_manish at yahoo dot com |
| Previous by Thread: | [Bug c++/23959] -Wswitch-default reports missing default in a template that has one, rlibiez at arthmoor dot com |
| Next by Thread: | [Bug c++/23959] [4.0/4.1 Regression] -Wswitch-default reports missing default in a template that has one, pinskia at gcc dot gnu dot org |
| Indexes: | [Date] [Thread] [Top] [All Lists] |