This is the mail archive of the gcc-cvs@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]

r121087 - in /trunk/gcc: cp/ChangeLog cp/typeck...


Author: ian
Date: Tue Jan 23 21:46:51 2007
New Revision: 121087

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121087
Log:
cp/:
	* typeck.c (convert_for_assignment): Only warn about a = b = c
	when converting to bool.
testsuite/:
	* g++.dg/warn/Wparentheses-24.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Wparentheses-24.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


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