[Bug c++/66572] [6 Regression] Bogus Wlogical-op warning for operands coming from template instantiations
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 23 18:58:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66572
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Jul 23 18:57:25 2015
New Revision: 226120
URL: https://gcc.gnu.org/viewcvs?rev=226120&root=gcc&view=rev
Log:
PR c++/66572
* pt.c (tsubst_copy_and_build): Add warn_logical_op sentinel.
* g++.dg/warn/Wlogical-op-2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wlogical-op-2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list