aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-03-25 12:35:33 +0100
committerEric Botcazou <ebotcazou@adacore.com>2022-03-25 12:37:01 +0100
commit711c7f079bc0d250e6c5c4450828453c1096542c (patch)
treedd5c153e937137d7ae166d1e8d41031a5177b860 /gcc/cp/constexpr.cc
parent45e955b0a936eafc9838cdc00dcc31b3799b321b (diff)
downloadgcc-711c7f079bc0d250e6c5c4450828453c1096542c.zip
gcc-711c7f079bc0d250e6c5c4450828453c1096542c.tar.gz
gcc-711c7f079bc0d250e6c5c4450828453c1096542c.tar.bz2
Fix issue for pointers to anonymous types with -fdump-ada-spec
This used to work long ago but broke at some point. gcc/c-family/ * c-ada-spec.cc (dump_ada_import): Deal with the "section" attribute (dump_ada_node) <POINTER_TYPE>: Do not modify and pass the name, but the referenced type instead. Deal with the anonymous original type of a typedef'ed type. In the actual access case, follow the chain of external subtypes. <TYPE_DECL>: Tidy up control flow.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions