This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r129762 - in /branches/lto/gcc: ChangeLog.lto l...
- From: zadeck at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 30 Oct 2007 02:49:48 -0000
- Subject: r129762 - in /branches/lto/gcc: ChangeLog.lto l...
Author: zadeck
Date: Tue Oct 30 02:49:48 2007
New Revision: 129762
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129762
Log:
2007-10-29 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-tree-flags.def (VAR_DECL): Added seen_in_bind_expr flag.
* lto-function-out.c (struct output_block): Added
type_decl_hash_table, next_type_decl_index, type_decls,
current_col. Changed last_file to current_file. Changed last_line
to current_line.
(clear_line_info): New function.
(create_output_block): Added call to clear_line_info. Added
initialization of type_decl_hash_table.
(destroy_output_block): Added destruction of type_decl_hash_table.
(output_string): Fixed type snafu.
(output_tree_flags): Added force_loc parameter and uses of it.
Full rewrite of processing of line numbers.
(output_expr_operand): Added TYPE_DECL case.
(output_local_vars): Properly handle TREE_CHAIN and DECL_CONTEXT.
(output_named_labels, output_constructor_or_init): Added call to
clear_line_info.
(output_ssa_names): Added parm to not process line numbers for ssa
names.
(produce_asm): Added code to output type_decls.
(output_function): Added call to clear_line_info. Moved
production of labels to after local_vars to get processing of
context correct.
* lto-tree-tags.def (LTO_type_decl): New tag.
* lto-tags.h (lto_header): Added num_type_decls.
(LTO_type_decl): New tag.
(LTO_SOURCE_FILE, LTO_SOURCE_LINE, LTO_SOURCE_LOC_BITS,
LTO_SOURCE_COL): New macros.
* tree-dfa.c (find_referenced_vars): Added code to walk phi
operands.
2007-10-29 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (data_in): Added type_decls and current_col fields.
(string_slot): New type to hold canonized file name.
(hash_string_slot_node, eq_string_slot_node, canon_file_name,
input_line_info, set_line_info, clear_line_info): New functions.
(file_name_hash_table): New hash table.
(input_local_var, input_labels, input_local_vars_index,
input_local_var, input_local_vars, input_ssa_names): Reorganized parameters.
(input_uleb128): Changed type of byte var.
(input_expr_operand): Large number of changes to get line numbers
correct. Added TYPE_DECL case.
(input_globals): Added code to get TYPE_DECLs processed.
(input_local_var): Added code to process line numbers and
TREE_CHAIN and DECL_CONTEXT.
(input_function, input_constructor): Added call to
clear_line_number.
(lto_static_init_local): Added code to get line numbers correct.
(lto_read_body): Added code to get TYPE_DECLS read and to change
parameters to the calls above that had their parms reorganized.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/lto-function-out.c
branches/lto/gcc/lto-tags.h
branches/lto/gcc/lto-tree-flags.def
branches/lto/gcc/lto-tree-tags.def
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/lto-read.c
branches/lto/gcc/tree-dfa.c