2011/11/10 Dodji Seketeli <do...@seketeli.org>:
> Fabien Chêne <fabien.ch...@gmail.com> a écrit:
>
>> Index: gcc/dbxout.c
>> ===================================================================
>> --- gcc/dbxout.c      (revision 178088)
>> +++ gcc/dbxout.c      (working copy)
>> @@ -1518,6 +1518,8 @@ dbxout_type_fields (tree type)
>>        if (TREE_CODE (tem) == TYPE_DECL
>>         /* Omit here the nameless fields that are used to skip bits.  */
>>         || DECL_IGNORED_P (tem)
>> +       /* Omit USING_DECL */
>> +       || TREE_CODE (tem) >= LAST_AND_UNUSED_TREE_CODE
>>         /* Omit fields whose position or size are variable or too large to
>>            represent.  */
>>         || (TREE_CODE (tem) == FIELD_DECL
>
> As this dbxout backend code already ignores DECLs marked DECL_IGNORED_P,
> maybe it would be best to have the front-end mark the USING_DECL as
> DECL_IGNORED_P; possibly in finish_member_declaration?

Are the other debugging backends not interested at all in USING_DECLs ?

-- 
Fabien

Reply via email to