pruning unused debugging types (enums/PR23336)

Richard Henderson rth@redhat.com
Fri Mar 31 15:31:00 GMT 2006


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.


r~



More information about the Gcc-patches mailing list