------- Comment #2 from Uwe dot Seimet at seimet dot de 2005-12-08 18:37 ------- Subject: Re: [3.4/4.0/4.1/4.2 Regression] Unreachable code at beginning of switch statement is not reported anymore
Hello, > 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. Thank you for your quick response! It was not obvious for me that -Wunreachable-code would enable the correct warning, since in previous versions this warning was covered by -Wall. It would be nice for -Wall to include -Wunreachable-code, similar to how it was in gcc 3.3. Best regards, Uwe -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25314