re PR c++/65882 (Internal compiler error: Error reporting routines re-entered)
authorMikhail Maltsev <maltsevm@gmail.com>
Sat, 20 Jun 2015 00:10:00 +0000 (00:10 +0000)
committerMikhail Maltsev <miyuki@gcc.gnu.org>
Sat, 20 Jun 2015 00:10:00 +0000 (00:10 +0000)
commitcd95a0d559e691d3767b238f1a584d006dcbb53e
tree75f21c3e10ed2e8aeffd8082e824e1d3105da9e3
parent3cad5f64a81355feef936483251875ab9a7900a6
re PR c++/65882 (Internal compiler error: Error reporting routines re-entered)

PR c++/65882

gcc/cp/
* call.c (build_new_op_1): Check tf_warning flag in all cases.

gcc/testsuite/
* g++.dg/diagnostic/inhibit-warn-1.C: New test.
* g++.dg/diagnostic/inhibit-warn-2.C: New test.

From-SVN: r224702
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/diagnostic/inhibit-warn-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C [new file with mode: 0644]