Implement -Wimplicit-fallthrough (version 9)

Eric Botcazou ebotcazou@adacore.com
Tue Sep 27 07:47:00 GMT 2016


> It seems unfortunate that the warning doesn't accept /* ... fall
> through ... */ as a fallthrough comment.

Seconded.  The warning should take into account existing practices instead of 
forcing the user to make completely bogus changes to the code (and Ada should 
have been tested before the patch was approved).

-- 
Eric Botcazou



More information about the Gcc-patches mailing list