This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25995] switch/case does not detect invalid enum values if default-case is used
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2006 14:03:27 -0000
- Subject: [Bug c/25995] switch/case does not detect invalid enum values if default-case is used
- References: <bug-25995-12084@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-27 14:03 -------
Never mind, I see what you mean now, I was too tired when I first read this
bug.
Confirmed. the default label is causing many things to be ignored.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c++ |c
Ever Confirmed|0 |1
Keywords| |diagnostic
Known to fail| |3.2.3 3.3.3 3.4.0 4.0.0
| |4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2006-01-27 14:03:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25995