https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62084

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
With checking it ICEs like the following, IIRC there's a duplicate for this,
we add a duplicate name attribute with address-spaces.

> ./cc1 -quiet t.c -gdwarf-2
../../../libc/time/strftime.c:43:1: internal compiler error: in add_dwarf_attr,
at dwarf2out.cc:4501
0xfc2317 add_dwarf_attr
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:4501
0xfc29ed add_AT_string
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:4773
0xfeb303 add_name_attribute(die_struct*, char const*)
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:21240
0xfd7280 modified_type_die
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:14031
0xfd658a modified_type_die
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:13806
0xfedb2e add_type_attribute
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:22364
0xfee904 gen_array_type_die
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:22631
0xff9a20 gen_type_die_with_usage
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:26394
0xff9de1 gen_type_die
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:26457
0xffbef6 gen_decl_die
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:27136
0xffd2d4 dwarf2out_decl
        /space/rguenther/src/gcc/gcc/dwarf2out.cc:27655

Reply via email to