diff options
author | Marek Polacek <polacek@redhat.com> | 2015-04-24 12:10:52 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-04-24 12:10:52 +0000 |
commit | 8c2b7f79721cb9ef50d996ef2073210e7402c69a (patch) | |
tree | 109667391d09834474b25b70680f05eff7d00712 /gcc/genrecog.c | |
parent | 4853031ec832b9fd29e0894016038cc9f83e31cc (diff) | |
download | gcc-8c2b7f79721cb9ef50d996ef2073210e7402c69a.zip gcc-8c2b7f79721cb9ef50d996ef2073210e7402c69a.tar.gz gcc-8c2b7f79721cb9ef50d996ef2073210e7402c69a.tar.bz2 |
re PR c/63357 (Warn for P && P and P || P (same expression used multiple times in a condition))
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.
From-SVN: r222408
Diffstat (limited to 'gcc/genrecog.c')
0 files changed, 0 insertions, 0 deletions