This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262353 - in /trunk/gcc: cp/ChangeLog cp/typeck...
- From: mpolacek at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 03 Jul 2018 16:38:16 -0000
- Subject: r262353 - in /trunk/gcc: cp/ChangeLog cp/typeck...
Author: mpolacek
Date: Tue Jul 3 16:38:16 2018
New Revision: 262353
URL: https://gcc.gnu.org/viewcvs?rev=262353&root=gcc&view=rev
Log:
PR c++/86201
* typeck.c (cp_build_binary_op): Check c_inhibit_evaluation_warnings.
* g++.dg/diagnostic/pr86201.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/diagnostic/pr86201.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog