This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/25995] switch/case does not detect invalid enum values if default-case is used



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]