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: Improve -Wcast-qual warning for C


"Joseph S. Myers" <joseph@codesourcery.com> writes:

>> gcc/ChangeLog:
>> 
>> 2009-05-29  Ian Lance Taylor  <iant@google.com>
>> 
>> 	* c-typeck.c (handle_warn_cast_qual): New static function,
>> 	partially broken out of build_c_cast.
>> 	(build_c_cast): Call handle_warn_cast_qual.
>> 	* doc/invoke.texi (Warning Options): Document new effect of
>> 	-Wcast-qual.
>> 
>> gcc/testsuite/ChangeLog:
>> 
>> 2009-05-29  Ian Lance Taylor  <iant@google.com>
>> 
>> 	* gcc.dg/cast-qual-3.c: New testcase.
>
> The C changes are OK.
>
>> 	* g++.dg/warn/Wcast-qual2.C: New testcase.

Janis approved the C++ test case off-list.  Committed to mainline as
revision 148053.

Ian


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