c/10175: -Wunreachable-code doesn't work for single lines

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Apr 4 05:09:00 GMT 2003


Old Synopsis: [3.3/3.4 regression] -Wunreachable-code broken
New Synopsis: -Wunreachable-code doesn't work for single lines

State-Changed-From-To: analyzed->open
State-Changed-By: jason
State-Changed-When: Fri Apr  4 05:09:41 2003
State-Changed-Why:
    I've fixed the regression which broke the warning for 
    multiple-line blocks in 3.3 and on the trunk, but the 
    original limitation of not working with single lines 
    remains.  This seems to have been a deliberate choice when 
    the code was first written, presumably to reduce the number
    of false positives.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10175



More information about the Gcc-prs mailing list