This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r112845 - in /trunk/gcc: ChangeLog Makefile.in ...
- From: aldyh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 11 Apr 2006 01:36:51 -0000
- Subject: r112845 - in /trunk/gcc: ChangeLog Makefile.in ...
Author: aldyh
Date: Tue Apr 11 01:36:50 2006
New Revision: 112845
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112845
Log:
PR/21391
* testsuite/gcc.dg/20060410.c: New.
* 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 prune perennial dies.
* function.c (used_types_insert): New.
* function.h (struct function): Add used_types_hash field.
(used_types_insert): Add prototype.
* Makefile.in (FUNCTION_H): Depend on HASHTAB_H.
* c-parser.c (c_parser_cast_expression): Save casted types in used
types hash table.
Added:
trunk/gcc/testsuite/gcc.dg/20060410.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/c-parser.c
trunk/gcc/dwarf2out.c
trunk/gcc/function.c
trunk/gcc/function.h
trunk/gcc/testsuite/ChangeLog