https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63357
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Fri Apr 24 12:10:52 2015 New Revision: 222408 URL: https://gcc.gnu.org/viewcvs?rev=222408&root=gcc&view=rev Log: PR c/63357 * c-common.c (warn_logical_operator): Warn if the operands have the same expressions. * doc/invoke.texi: Update description of -Wlogical-op. * c-c++-common/Wlogical-op-1.c: New test. Added: trunk/gcc/testsuite/c-c++-common/Wlogical-op-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/doc/invoke.texi trunk/gcc/testsuite/ChangeLog