Implement -Wimplicit-fallthrough (version 9)

Bernd Schmidt bschmidt@redhat.com
Tue Sep 27 11:52:00 GMT 2016


On 09/27/2016 01:09 PM, Richard Biener wrote:
> On Tue, Sep 27, 2016 at 1:06 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>>> The accepted style is already very permissive, we don't allow just one
>>> spelling as various lint tools.
>>
>> Well, it cannot even handle the variations of a single codebase, GCC itself,
>> so I'm afraid very permissive is not exactly the appropriate wording here.
>> Anyway, we'll see whether Bugzilla is flooded or not in the upcoming days.
>
> During discussion I already pointed out that people may use non-english
> variants as well.  I've seen a lot of french variable/function names in my
> academic life for example.

Yes, I pointed out the same thing a few weeks ago.

The warning does seem to be useful and discover errors, but I worry 
about the large amount of false positives it produces.


Bernd



More information about the Gcc-patches mailing list