https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67863
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue Oct 6 17:56:23 2015 New Revision: 228540 URL: https://gcc.gnu.org/viewcvs?rev=228540&root=gcc&view=rev Log: PR c++/67863 * call.c (build_conditional_expr_1): Build the COND_EXPR with a location. * c-c++-common/Wtautological-compare-4.c: New test. Added: trunk/gcc/testsuite/c-c++-common/Wtautological-compare-4.c Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/testsuite/ChangeLog