On Sat, 27 Oct 2012, Manuel L?pez-Ib??ez wrote: > On 19 October 2012 18:17, Joseph S. Myers <jos...@codesourcery.com> wrote: > > On Wed, 17 Oct 2012, Manuel L?pez-Ib??ez wrote: > > > >> documentation but I can also implement -Wformat=0 being an alias for > >> -Wno-format and -Wformat=1 an alias for -Wformat and simply reject > >> -Wno-format=. > > > > I think that's what's wanted; -Wno-format= should be rejected, -Wformat= > > should take an arbitrary integer level (of which at present all those > > above 2 are equivalent to 2, just as -O<n> for n > 3 is equivalent to > > -O3). > > This patch implements exactly that. Bootstrapped and regression tested > on x86_64-linux-gnu. OK?
OK, but unless there is a dependency between the opt*.awk refactoring and the c-family changes, please make those two separate commits. -- Joseph S. Myers jos...@codesourcery.com