[Bug c/27126] -Wswitch-enums doesn't detect impossible cases in switch()

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 12 10:17:00 GMT 2006



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-04-12 10:17 -------
Confirmed.  But this is unlikely to be fixed as it would require moving the
diagnostic to the middle-end where this information is available.  And
diagosticts from the middle-end are notoriously frowned upon.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|x86_64-unknown-linux-gnu    |
   GCC host triplet|x86_64-unknown-linux-gnu    |
 GCC target triplet|x86_64-unknown-linux-gnu    |
           Keywords|                            |diagnostic
           Priority|P3                          |P5
   Last reconfirmed|0000-00-00 00:00:00         |2006-04-12 10:17:19
               date|                            |


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



More information about the Gcc-bugs mailing list