aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2023-06-08 14:07:44 -0400
committerMarek Polacek <polacek@redhat.com>2023-06-28 11:51:59 -0400
commit4de22e25918f6fe40184c444ba6d81b19b806e26 (patch)
treecfa76a564a63d93bc1952479cce2adfeeb1afeb2 /gcc/expr.cc
parent8719ab0d01d5a73767e34f88691c812db03e1449 (diff)
downloadgcc-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