OSDN Git Service

cp/:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2007 21:46:51 +0000 (21:46 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2007 21:46:51 +0000 (21:46 +0000)
commitb5af670241b1f4a1884d24df93843bc651715bf2
tree15e3da15ba1cd60e0a23fb47dab5b5cfbd247c17
parentaf6b56b9b7cedfdb43445d2be415888a93f2fa7e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121087 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wparentheses-24.C [new file with mode: 0644]