re PR c++/86201 (ICE: Error reporting routines re-entered)
authorMarek Polacek <polacek@redhat.com>
Tue, 3 Jul 2018 16:38:16 +0000 (16:38 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 3 Jul 2018 16:38:16 +0000 (16:38 +0000)
commit44b0c9aedb07df1c8c9c26f5a7146db38fee42e0
tree32fee22d1ffecef7a59dd8bf161d848659bf28f3
parent315aadc8642b72fc2d7172312a35e18074cca85b
re PR c++/86201 (ICE: Error reporting routines re-entered)

PR c++/86201
* typeck.c (cp_build_binary_op): Check c_inhibit_evaluation_warnings.

* g++.dg/diagnostic/pr86201.C: New test.

From-SVN: r262353
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/diagnostic/pr86201.C [new file with mode: 0644]