This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, diagnostics] Add -Wvarargs option


Dodji Seketeli <dodji@redhat.com> 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 various warning_at calls.
>
> gcc/doc/
>
> 	* invoke.texi: Update the documentation.
>
> gcc/testsuite/
>
> 	* c-c++-common/Wvarargs.c: New test case.
> 	* c-c++-common/Wvarargs-2.c: Likewise.

FWIW, this completed bootstrap and testing fine.

-- 
		Dodji


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]