This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r132525 - in /branches/incremental-compiler/gcc...
- From: tromey at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 21 Feb 2008 18:16:36 -0000
- Subject: r132525 - in /branches/incremental-compiler/gcc...
Author: tromey
Date: Thu Feb 21 18:16:35 2008
New Revision: 132525
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132525
Log:
* c-gimplify.c (c_gimplify_expr) <VIEW_CONVERT_EXPR>: Update
assertion.
* c-decl.c (all_global_decls): New global.
(pop_scope_internal): New function.
(pop_scope): Use it.
(pop_file_scope): Initialize all_global_decls. Use
pop_scope_internal.
(c_clear_binding_stack): Use pop_scope_internal.
(ext_block): Remove.
(c_smash_decls): Change type of 'result'. Remove 'list'
argument; add 'globals' argument. Smash field types of records
and unions.
(get_smashed_type): Don't smash field types of records and
unions.
(hand_off_decls): Walk DECL_ARGUMENTS of function.
(c_write_global_declarations): Use all_global_decls.
(c_init_decl_processing): Initialize all_global_decls.
* c-parser.c (struct can_reuse_hunk_data) <parser>: Remove.
(traverse_check_statics): New function.
(can_reuse_hunk): Call traverse_check_statics.
Modified:
branches/incremental-compiler/gcc/ChangeLog
branches/incremental-compiler/gcc/c-decl.c
branches/incremental-compiler/gcc/c-gimplify.c
branches/incremental-compiler/gcc/c-parser.c