aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-08-11 12:17:24 -0400
committerPatrick Palka <ppalka@redhat.com>2023-08-11 12:17:24 -0400
commita4238f6db879abc048282d2d26442e68dc9427ea (patch)
tree74034741cfa24973f14fde602a27d20d2107ca45 /libstdc++-v3/include
parent834d1422c2e056f483542f1aff2cfc211bfcc748 (diff)
downloadgcc-a4238f6db879abc048282d2d26442e68dc9427ea.zip
gcc-a4238f6db879abc048282d2d26442e68dc9427ea.tar.gz
gcc-a4238f6db879abc048282d2d26442e68dc9427ea.tar.bz2
tree-pretty-print: handle COMPONENT_REF with non-decl RHS
In the C++ front end, a COMPONENT_REF's second operand isn't always a decl (at least at template parse time). This patch makes the generic pretty printer not ICE when printing such a COMPONENT_REF. gcc/ChangeLog: * tree-pretty-print.cc (dump_generic_node) <case COMPONENT_REF>: Don't call component_ref_field_offset if the RHS isn't a decl.
Diffstat (limited to 'libstdc++-v3/include')
0 files changed, 0 insertions, 0 deletions