https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110175
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:4de22e25918f6fe40184c444ba6d81b19b806e26 commit r14-2167-g4de22e25918f6fe40184c444ba6d81b19b806e26 Author: Marek Polacek <pola...@redhat.com> Date: Thu Jun 8 14:07:44 2023 -0400 c++: fix error reporting routines re-entered ICE [PR110175] Here we get the "error reporting routines re-entered" ICE because of an unguarded use of warning_at. While at it, I added a check for a warning_at just above it. PR c++/110175 gcc/cp/ChangeLog: * typeck.cc (cp_build_unary_op): Check tf_warning before warning. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/decltype-110175.C: New test.