Re: dead code identification

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

 



Mark Hampton <mark.hampton@xxxxxxxxxxx> writes:

> I would like to identify dead/redundant code that is being optimized away by 
> gcc. Is there a way to have gcc report the line number associated with this 
> code ?

No.  The best you could do would be to look at the internal debugging
dumps, e.g., by using -fdump-tree-dce-details.

Ian

[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