re PR bootstrap/68346 (Bootstrap failure on i686-linux)
authorJason Merrill <jason@redhat.com>
Tue, 17 Nov 2015 18:16:35 +0000 (13:16 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 17 Nov 2015 18:16:35 +0000 (13:16 -0500)
commit3e44547c936be9e741411e812fc1565f539641c1
treea287eb144d579d831d29ac162fbecfaac0eda88a
parent3212c3c8ff81e677cef51136e13966a4157648d1
re PR bootstrap/68346 (Bootstrap failure on i686-linux)

PR bootstrap/68346

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

From-SVN: r230471
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/g++.dg/warn/Wtautological-compare2.C [new file with mode: 0644]