https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57371
--- Comment #5 from Yury Gribov <ygribov at gcc dot gnu.org> --- Author: ygribov Date: Fri Aug 4 20:29:12 2017 New Revision: 250877 URL: https://gcc.gnu.org/viewcvs?rev=250877&root=gcc&view=rev Log: Remove useless floating point casts in comparisons. 2017-08-04 Yury Gribov <tetra2...@gmail.com> PR tree-optimization/57371 gcc/ * match.pd: New pattern. gcc/testsuite/ * c-c++-common/pr57371-1.c: New test. * c-c++-common/pr57371-2.c: New test. * c-c++-common/pr57371-3.c: New test. * c-c++-common/pr57371-4.c: New test. * gcc.dg/pr57371-5.c: New test. Added: trunk/gcc/testsuite/c-c++-common/pr57371-1.c trunk/gcc/testsuite/c-c++-common/pr57371-2.c trunk/gcc/testsuite/c-c++-common/pr57371-3.c trunk/gcc/testsuite/c-c++-common/pr57371-4.c trunk/gcc/testsuite/gcc.dg/pr57371-5.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd trunk/gcc/testsuite/ChangeLog