]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR bootstrap/68346
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Nov 2015 18:16:35 +0000 (18:16 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Nov 2015 18:16:35 +0000 (18:16 +0000)
commit7991eeee5bbef43132820f4cb414690cf804d66f
treea287eb144d579d831d29ac162fbecfaac0eda88a
parent93a735edb363048fdfccb762d646fe27c48cc9d8
PR bootstrap/68346

* c-common.c (warn_tautological_cmp): Fold before checking for
constants.

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