On Thu, Jul 19, 2018 at 04:16:10PM +0200, Martin Liška wrote:
> I must admit that was my intention :) In my eyes it makes it more consistent 
> and
> it gives consumers feedback about usage of an option that does nothing.
> For x86_64 there's list of options that are Ignore and don't produce a 
> warning:
> 
> Wimport
> Wunreachable-code
> Wunsafe-loop-optimizations

I'm especially worried about the above ones, we don't emit any warnings if
we do
-Wno-foobarbazqux
unless some other diagnostic is emitted.
Do we warn if we do
-Wno-unsafe-loop-optimizations
?  At least for -Wno-* Ignored options it would be nice to treat them similarly
to the non-existed -Wno-* options.

        Jakub

Reply via email to