[Bug c/25314] [3.4/4.0/4.1/4.2 Regression] Unreachable code at beginning of switch statement is not reported anymore

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 8 18:32:00 GMT 2005



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-08 18:32 -------
Hmm, someone else has to do decide if we only want to warn about this with
-Wunreachable-code or with just -W -Wall because 3.4.0 and above only warn with
-Wunreachable-code.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |c
           Keywords|                            |diagnostic
            Summary|Unreachable code at         |[3.4/4.0/4.1/4.2 Regression]
                   |beginning of switch         |Unreachable code at
                   |statement is not reported   |beginning of switch
                   |anymore                     |statement is not reported
                   |                            |anymore
   Target Milestone|---                         |4.0.3


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



More information about the Gcc-bugs mailing list