This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA/dwarf-2] Avoid unnecessary subrange_type (2/3)


This is the second patch of three. This time, I need to move the check
for the type name code before the creation of the subrange type.  This
is because I will eventually add a check using that name which might
allow GCC to avoid generating the subrange_type DIE.

2004-03-15  J. Brobecker  <brobecker@gnat.com>

        * dwarf2out.c (subrange_type_die): Move up code handling the
        case when the type name is a TYPE_DECL.

Tested on x86-linux by bootstraping, and against the GCC & GDB testsuites.
OK to apply?

Thanks,
-- 
Joel

Attachment: dw_name_check.diff
Description: dw2_name_check.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]