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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |10.3.1, 11.2.1, 12.0
           Keywords|                            |ice-checking
   Last reconfirmed|                            |2021-08-19
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Only happens with checking.  We add DW_AT_name twice.

13868     /* This probably indicates a bug.  */
13869     else if (mod_type_die && mod_type_die->die_tag == DW_TAG_base_type)
13870       {
13871         name = TYPE_IDENTIFIER (type);
13872         add_name_attribute (mod_type_die,
13873                             name ? IDENTIFIER_POINTER (name) :
"__unknown__");
13874       }

likely address-space qualifiers are not correctly handled when cv_quals is zero
but TYPE_QUALS includes address-space qualifiers (not sure if those should go
to the type die or to the variable die?).  It looks like address-spaces
are handled for pointed-to types in modified_type_die but that's all.

Reply via email to