On 5/13/21 11:33 PM, Vadim Zeitlin wrote: > Hello, > > While running my script[1] parsing gcc/c-family/c.opt to extract > information about the new warnings for C++ programs, I've noticed that a > couple of new warnings in gcc 11 don't use the "Warning" flag which, I had > assumed, would be used for all warnings (with a couple of historical > exceptions). Was this assumption wrong, or could this have been an > oversight, i.e. should this flag be added to these warning too? > > For the reference, the commits adding the warning were: > > - 1d87302a8e2 (c++: Add -Wexceptions warning option [PR97675], 2020-11-03) > - 10ee6da64c5 (C++ Module options, 2020-12-01) > > Thanks in advance, > VZ > You are right, thanks for heads up. I'm going to install the following obvious patch (and will add it to gcc-11 branch as well). Martin