------- Comment #4 from Uwe dot Seimet at seimet dot de  2005-12-08 19:05 
-------
Subject: Re:  [3.4/4.0/4.1/4.2 Regression] Unreachable code at beginning of
switch statement is not reported anymore

Hello,

> > It would be nice for -Wall to include -Wunreachable-code, similar to how
> > it was in gcc 3.3.
> 
> -Wunreachable-code was not in included with -Wall in 3.3 but a different
> warning was enabled for this.

Yes, but at least there was a warning (even though a different one) when
using gcc 3.3 and -Wall. With 4.0.2 and -Wall there is no warning at all.
If I had not still been using 3.3 while migrating to 4.0.2 I would never
have found this bug in my code, because 4.0.2 did not report it with
-Wall.

Best regards,   Uwe


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25314

Reply via email to