diff options
author | Marek Polacek <polacek@redhat.com> | 2023-06-08 14:07:44 -0400 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2023-06-28 11:51:59 -0400 |
commit | 4de22e25918f6fe40184c444ba6d81b19b806e26 (patch) | |
tree | cfa76a564a63d93bc1952479cce2adfeeb1afeb2 /gcc/expr.cc | |
parent | 8719ab0d01d5a73767e34f88691c812db03e1449 (diff) | |
download | gcc-4de22e25918f6fe40184c444ba6d81b19b806e26.zip gcc-4de22e25918f6fe40184c444ba6d81b19b806e26.tar.gz gcc-4de22e25918f6fe40184c444ba6d81b19b806e26.tar.bz2 |
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.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions