aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.h
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2024-06-18 10:50:49 -0400
committerMarek Polacek <polacek@redhat.com>2024-06-25 15:07:46 -0400
commit71f484d02b2b3e8616cd7af27a0d4c72e4c7e977 (patch)
treead7101f7bd8620fa1804e0b262bfa99fa9078195 /gcc/dwarf2codeview.h
parent3b9b8d6cfdf59337f4b7ce10ce92a98044b2657b (diff)
downloadgcc-71f484d02b2b3e8616cd7af27a0d4c72e4c7e977.zip
gcc-71f484d02b2b3e8616cd7af27a0d4c72e4c7e977.tar.gz
gcc-71f484d02b2b3e8616cd7af27a0d4c72e4c7e977.tar.bz2
c++: ICE with __dynamic_cast redecl [PR115501]
Since r13-3299, build_dynamic_cast_1 calls pushdecl which calls duplicate_decls and that in this testcase emits the "conflicting declaration" error and returns error_mark_node, so the subsequent build_cxx_call crashes on the error_mark_node. PR c++/115501 gcc/cp/ChangeLog: * rtti.cc (build_dynamic_cast_1): Return if dcast_fn is erroneous. gcc/testsuite/ChangeLog: * g++.dg/rtti/dyncast8.C: New test.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions