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 RFA: Add -Wc++-compat warning for va_arg with enum type


On Thu, 28 May 2009, Ian Lance Taylor wrote:

> 2009-05-28  Ian Lance Taylor  <iant@google.com>
> 
> 	* c-typeck.c (c_build_va_arg): New function.
> 	* c-tree.h (c_build_va_arg): Declare.
> 	* c-parser.c (c_parser_postfix_expression): Call c_build_va_arg
> 	instead of build_va_arg.
> 
> gcc/testsuite/ChangeLog:
> 
> 2009-05-28  Ian Lance Taylor  <iant@google.com>
> 
> 	* gcc.dg/Wcxx-compat-11.c: New testcase.

These C changes are OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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