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]

Re: pruning unused debugging types (enums/PR23336)


On Fri, Mar 31, 2006 at 07:30:07AM -0800, Richard Henderson wrote:
> On Sat, Feb 18, 2006 at 07:23:30AM -0400, Aldy Hernandez wrote:
> > 	* function.h (struct function): Add used_types_hash field.
> > 	Include hashtab.h.
> > 	(used_types_insert): Protoize.
> > 	* function.c (used_types_insert): New.
> > 	* c-parser.c (c_parser_cast_expression): Call used_types_insert.
> > 	* dwarf2out.c (struct die_struct): Add die_perennial_p field.
> > 	(premark_used_types_helper): New.
> > 	(premark_used_types): New.
> > 	(gen_subprogram_die): Call premark_used_types.
> > 	(prune_unused_types_walk): Do not mark perennial types.
> > 	* Makefile.in (FUNCTION_H): Depend on HASHTAB_H.
> 
> Ok.

Since it's been a while, I'll make sure the patch still bootstraps, commit,
and then whip up the corresponding patch for C++.

Muchos grassy ass.
Aldy


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