https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94459
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Looking through DW_TAG_const_type seems insufficient to me, can't there be
other qualifications (at least DW_TAG_volatile_type, perhaps in various
orders)?
So wouldn't be better a loop as long as die and die->die_tag is one of
dwarf_qual_info[?].t or DW_TAG_{rvalue_}reference, use die = get_AT_ref (die,
DW_AT_type); ?