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