[Bug debug/101633] [debug] DW_TAG_subrange_type missing DW_AT_upper_bound
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 27 07:31:43 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101633
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
https://gcc.gnu.org/pipermail/gcc-patches/2017-May/474657.html :
...
>> 2017-05-15 Richard Biener <rguenther@suse.de>
>>
>> * dwarf2out.c (loc_list_from_tree_1): Do not create
>> DW_OP_GNU_variable_value for DECL_IGNORED_P decls.
>
> Can you verify it e.g. in a bootstrapped cc1plus doesn't change the debug info
> (except for dwarf2out.o itself)?
> It looks reasonable and it would surprise me if did, just want to be sure.
Done. Note it only happened for Ada.
...
Heh, indeed it did.
More information about the Gcc-bugs
mailing list