PR c++/36921
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Dec 2008 18:46:12 +0000 (18:46 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Dec 2008 18:46:12 +0000 (18:46 +0000)
commitd7fa08008d1dd8a8901c488e88af52b608d8a4fb
treea561d1d4957ce2ac0cd8556dd57969d83b2278bd
parent972451dc2d6a0f04ff6a9b6cdb7c604e30d63145
PR c++/36921
* c-common.c (warn_about_parentheses): Remove ARG_UNUSED from
arg_left.  Don't warn about X<=Y<=Z if comparison's type isn't
integral.

* g++.dg/warn/pr36921.C: New.

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