Re: [PATCH, diagnostics] Add -Wvarargs option

2012-04-28 Thread Gabriel Dos Reis
On Fri, Apr 27, 2012 at 4:46 PM, Dodji Seketeli wrote: > Dodji Seketeli writes: > > >> Tested on x86_64-unknown-linux-gnu against trunk.  Bootstrap for all >> languages is still underway. >> >> gcc/c-family/ >> >>       * c.opt (Wvarargs):  Define new option. >> >> gcc/ >>       builtins.c (fold_

Re: [PATCH, diagnostics] Add -Wvarargs option

2012-04-27 Thread Dodji Seketeli
Dodji Seketeli writes: > Tested on x86_64-unknown-linux-gnu against trunk. Bootstrap for all > languages is still underway. > > gcc/c-family/ > > * c.opt (Wvarargs): Define new option. > > gcc/ > builtins.c (fold_builtin_next_arg): Use OPT_Wvarargs as an > argument for the v

[PATCH, diagnostics] Add -Wvarargs option

2012-04-27 Thread Dodji Seketeli
Hello Gabriel, Following your request[1], please find below the implementation for the -Wvarargs option, as well as its introductory text. It applies on top the changes to enable -ftrack-macro-expansion by default[2]. [1]: http://gcc.gnu.org/ml/gcc-patches/2012-04/msg01604.html [2]: http://gcc.g