]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-common.c
PR c++/59231
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Feb 2014 21:28:08 +0000 (21:28 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Feb 2014 21:28:08 +0000 (21:28 +0000)
commit734ec290e705c0fd7a65b53650e186254f469fa6
treec3f90cee49d19ad5f42089ff43c724ba922a1322
parente92400748dd016b621b55905a1ad9cc5e10331e4
PR c++/59231
PR c++/11586
PR c++/14710
PR c++/57132
gcc/
* c-common.c (shorten_compare): Don't check
c_inhibit_evaluation_warnings.
gcc/cp/
* pt.c (struct warning_sentinel): New.
(tsubst_copy_and_build): Use it instead of
c_inhibit_evaluation_warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208183 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/testsuite/g++.dg/cilk-plus/AN/array_test2_tplt.cc
gcc/testsuite/g++.dg/cpp0x/overflow1.C
gcc/testsuite/g++.dg/warn/Wsign-compare-7.C [new file with mode: 0644]