Re: dead code identification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 13, 2008 at 11:26 AM, Matthew Woehlke
<mw_triad@xxxxxxxxxxxxxxxxxxxxx> wrote:

>  I guess someone should point out that some commercial compilers (Sun's
>  comes to mind) issue warnings for unreachable code. IMO this would make
>  a nice improvement to gcc.

See -Wunreachable-code in the documentation.  Unreachable code and
dead code are different things


Diego.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux