-2013-04-11 Release Manager
+2013-05-31 Release Manager
- * GCC 4.7.3 released.
+ * GCC 4.8.1 released.
-2013-02-09 Uros Bizjak <ubizjak@gmail.com>
+2013-03-22 Release Manager
- * lto.c: Include output.h.
+ * GCC 4.8.0 released.
-2013-02-07 Uros Bizjak <ubizjak@gmail.com>
+2013-02-08 Richard Biener <rguenther@suse.de>
+
+ PR lto/56231
+ * lto-lang.c (lto_init): Do not enter a dummy file.
- Backport from mainline
- 2013-02-07 Uros Bizjak <ubizjak@gmail.com>
+2013-02-07 Uros Bizjak <ubizjak@gmail.com>
PR bootstrap/56227
* lto.c (lto_resolution_ready): Use %wx instead of
HOST_WIDE_INT_PRINT_HEX_PURE in the argument to internal_error.
-2012-09-20 Richard Guenther <rguenther@suse.de>
+2013-02-04 Richard Guenther <rguenther@suse.de>
+
+ PR lto/56168
+ * lto.c (read_cgraph_and_symbols): Do not call lto_symtab_merge_decls
+ or lto_fixup_decls at LTRANS time.
+
+2013-01-09 Jan Hubicka <jh@suse.cz>
+
+ PR lto/45375
+ * lto.c (do_whole_program_analysis): Remove unreachable nodes after IPA.
+
+2012-12-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR lto/55466
+ * lto.c (lto_register_var_decl_in_symtab): Don't record static
+ variables.
+ (lto_main): Record the global variables if WPA isn't enabled.
+
+2012-11-20 Diego Novillo <dnovillo@google.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ * lto.c: Replace all vec<T, A>() initializers with vNULL.
+
+2012-11-16 Diego Novillo <dnovillo@google.com>
+
+ Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
+
+ * lto-lang.c: Use new vec API in vec.h.
+ * lto-partition.c: Likewise.
+ * lto-partition.h: Likewise.
+ * lto.c: Likewise.
+
+2012-10-31 Lawrence Crowl <crowl@google.com>
+
+ * lto.c (lto_wpa_write_files): Change symtab checking to a checked
+ down-cast via dyn_cast.
+ * lto-partition.c (add_symbol_to_partition_1): Likewise.
+ (undo_partition): Likewise.
+ (lto_balanced_map): Likewise.
+ (get_symbol_class): Likewise and via is_a.
+ (lto_balanced_map): Change symtab checking to is_a.
+
+2012-10-12 Richard Biener <rguenther@suse.de>
+
+ PR lto/54898
+ * lto.c (gimple_types_compatible_p_1): Also compare
+ TYPE_MAIN_VARIANT.
+ (iterative_hash_gimple_type): Also hash TYPE_MAIN_VARIANT.
- Backport from mainline
- 2012-09-11 Jan Hubicka <jh@suse.cz>
+2012-10-09 Tobias Burnus <burnus@net-b.de>
+
+ * lto-lang.c (lto_register_builtin_type): Avoid useless
+ decl creation.
+ * lto-object.c (lto_obj_file_open, lto_obj_file_open): Free memory.
+
+2012-10-08 Tobias Burnus <burnus@net-b.de>
+
+ * lto.c (lto_wpa_write_files, read_cgraph_and_symbols):
+ Free lto_file struct after closing the file.
+
+2012-10-08 Jan Hubicka <jh@suse.cz>
+
+ * lto/lto.c (remember_with_vars): Also fixup INTEGER_CST.
+ (fixup_integer_cst): New functoin.
+ (lto_ft_type): Fixup BASETYPE of methods and offsets.
+
+2012-10-07 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (read_cgraph_and_symbols): Release type merging hash early;
+ release input encoders.
+ * lto-partition.c (new_partition): Update for new lto_symtab_encoder_new.
+
+2012-10-06 Jan Hubicka <jh@suse.cz>
+
+ PR lto/54790
+ * lto.c (resolution_map): New static var.
+ (register_resolution): New function.
+ (lto_register_var_decl_in_symtab): Use it.
+ (read_cgraph_and_symbols): Copy resolutions into the symtab.
+
+2012-09-20 Martin Jambor <mjambor@suse.cz>
+
+ * lto.c (lto_materialize_function): Call push_struct_function and
+ pop_cfun.
+
+2012-09-19 Dehao Chen <dehao@google.com>
+
+ * lto/lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field.
+
+2012-09-19 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (lto_materialize_function): Update confused comment.
+ (read_cgraph_and_symbols): Do not free symtab.
+
+2012-09-12 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (do_whole_program_analysis): Care timevars, statistics and
+ AUX pointer cleaning. Add max partitioning.
+ * lto-partition.c (enum symbol_class): New.
+ (get_symbol_class): New function.
+ (symbol_partitioned_p): New function.
+ (add_references_to_partition): Remove.
+ (add_aliases_to_partition): Remove.
+ (add_cgraph_node_to_partition_1): Remove.
+ (add_cgraph_node_to_partition): Remove.
+ (add_symbol_to_partition): New function.
+ (add_symbol_to_partition_1): New function.
+ (contained_in_symbol): New function.
+ (partition_cgraph_node_p): Remove.
+ (partition_varpool_node_p): Remove.
+ (partition_symbol_p): Remove.
+ (lto_1_to_1_map): Cleanup.
+ (lto_max_map): New.
+ (lto_balanced_map): Update.
+ (lto_promote_cross_file_statics): Update.
+ * lto-partition.h (lto_max_map): Declare.
+ * timevar.def (TV_WHOPR_PARTITIONING): New timevar.
+
+2012-09-11 Jan Hubicka <jh@suse.cz>
PR lto/54312
* lto.c (uniquify_nodes): Remove quadratic loop checking if the
type is variant leader.
-2012-09-20 Release Manager
+2012-09-11 Richard Guenther <rguenther@suse.de>
+
+ * lto.c (enum gtc_mode): Remove.
+ (struct type_pair_d): Adjust.
+ (lookup_type_pair): Likewise.
+ (gimple_type_leader): Do not mark as deletable.
+ (gimple_lookup_type_leader): Adjust.
+ (gtc_visit): Likewise.
+ (gimple_types_compatible_p_1): Likewise.
+ (gimple_types_compatible_p): Likewise.
+ (gimple_type_hash): Likewise.
+ (gimple_register_type): Likewise.
+ (read_cgraph_and_symbols): Manage lifetime of tables
+ here.
+
+2012-09-11 Richard Guenther <rguenther@suse.de>
+
+ * lto.c (gimple_types, type_hash_cache, enum gtc_mode,
+ struct type_pair_d, lookup_type_pair, struct sccs,
+ next_dfs_num, gtc_next_dfs_num, struct gimple_type_leader_entry_s,
+ gimple_type_leader, gimple_lookup_type_leader, compare_type_names_p,
+ gtc_visit, gimple_types_compatible_p_1, gimple_types_compatible_p,
+ visit, iterative_hash_name, struct type_hash_pair,
+ type_hash_pair_compare, iterative_hash_gimple_type, gimple_type_hash,
+ gimple_type_eq, gimple_register_type_1, gimple_register_type):
+ Move here from gimple.c
+ (read_cgraph_and_symbols): Free hash tables here.
+ (print_lto_report_1): New function wrapping print_lto_report.
+ (do_whole_program_analysis): Call it.
+ (lto_main): Likewise.
+
+2012-09-10 Jan Hubicka <jh@suse.cz>
+
+ * lto-partition.c (partition_symbol_p): Forward declare.
+ (add_references_to_partition): Reimplement using partition_symbol_p.
+ (add_aliases_to_partition): Break out from add_references_to_partition;
+ reimplement using partition_symbol_p.
+ (add_cgraph_node_to_partition_1): Handle callees using partition_symbol_p;
+ add sanity checks.
+ (add_varpool_node_to_partition): Use add_aliases_to_partition.
+ (partition_varpool_node_p): Do not special case aliases.
+
+2012-08-12 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (lto_wpa_write_files): Do not delete partition encoder;
+ it is deleted after streaming.
+ * lto-partition.c (partition_symbol_p): New function.
+ (promote_var, promote_fn): Remove.
+ (promote_symbol): New function.
+ (lto_promote_cross_file_statics): First compute boundaries; rewrite
+ to lookup the actual boundaries instead of computing them ad-hoc.
+
+2012-08-12 Jan Hubicka <jh@suse.cz>
+
+ Replace cgraph_node_set and varpool_node_set by symtab_node_encoder
+ in partitioning.
+ * lto-partition.h (ltrans_partition_def): Replace cgraph_set and varpool_set
+ by encoder.
+ * lto-partition.c (new_partition): Update.
+ * lto.c (cmp_partitions_order): Update.
+ (lto_wpa_write_files): Update.
+ (free_ltrans_partitions): Update.
+ (add_references_to_partition): Update.
+ (add_cgraph_node_to_partition_1): Update.
+ (add_cgraph_node_to_partition): Update.
+ (add_varpool_node_to_partition): Update.
+ (undo_partition): Update.
+ (lto_balanced_map): Update.
+ (set_referenced_from_other_partition_p, set_reachable_from_other_partition_p,
+ set_referenced_from_this_partition_p): Update.
+ (lto_promote_cross_file_statics): Update.
+
+2012-08-12 Jan Hubicka <jh@suse.cz>
+
+ * lto-partition.c (set_referenced_from_other_partition_p,
+ set_reachable_from_other_partition_p, set_referenced_from_this_partition_p):
+ New functions.
+ (lto_promote_cross_file_statics): Use them.
+
+2012-07-24 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (read_cgraph_and_symbols): Use input_symtab.
+
+2012-07-24 Uros Bizjak <ubizjak@gmail.com>
+
+ * lto-tree.h (lang_decl): Add variable_size GTY option.
+
+2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
+
+ * lto.c: Do not include timevar.h.
+ * Make-lang.in: Fix dependencies.
+
+2012-06-18 Lawrence Crowl <crowl@google.com>
+
+ * lto.c (do_whole_program_analysis): Rename use of TV_PHASE_CGRAPH to
+ TV_PHASE_OPT_GEN. Use new timevar TV_PHASE_STREAM_OUT around the call
+ to lto_wpa_write_files.
+ (lto_main): Rename use of TV_PHASE_CGRAPH to TV_PHASE_OPT_GEN. Move
+ start of TV_PHASE_OPT_GEN to include call to materialize_cgraph. Use
+ TV_PHASE_SETUP for the call to lto_init. Use new timevar
+ TV_PHASE_STREAM_IN around the call to read_cgraph_and_symbols.
+ Turn TV_PHASE_PARSING off then back on again, because LTO is pretending
+ to be a front end, but is not one.
- * GCC 4.7.2 released.
+2012-05-18 Jan Hubicka <jh@suse.cz>
-2012-06-14 Release Manager
+ * lto.c (lto_materialize_constructors_and_inits): Remove.
+ (read_cgraph_and_symbols): Remove handling of alias pairs.
- * GCC 4.7.1 released.
+2012-05-17 Jan Hubicka <jh@suse.cz>
+
+ * lto-partition.c (add_references_to_partition): Handle external vars.
+ (partition_varpool_node_p): Likewise.
+ (lto_promote_cross_file_statics): Do not promote externals.
+
+2012-05-14 Bernd Schmidt <bernds@codesourcery.com>
+
+ * lto-lang.c (handle_fnspec_attribute): New static function.
+ (lto_attribute_table): Add "fn spec".
+ (DEF_ATTR_STRING): Define and undefine along with the other macros.
+
+2012-05-04 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (do_whole_program_analysis): Set timevars correctly.
+ (lto_main): Likewise.
2012-05-04 Richard Guenther <rguenther@suse.de>
* lang.opt (fwpa): Do not mark as Optimization.
(fltrans): Likewise.
-2012-03-22 Release Manager
+2012-04-30 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (lto_main): Use compile ().
+ * lto-partition.c (partition_cgraph_node_p): Use
+ symtab_used_from_object_file_p.
+ (partition_varpool_node_p): Likewise.
+
+2012-04-20 Jan Hubicka <jh@suse.cz>
+
+ * lto-partition.c (partition_cgraph_node_p): Use force_output.
+
+2012-04-18 Jan Hubicka <jh@suse.cz>
- * GCC 4.7.0 released.
+ * lto-partition.c (add_references_to_partition, lto_balanced_map):
+ Update for new ipa-ref API.
+
+2012-04-16 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (read_cgraph_and_symbols): Use FOR_EACH
+ walkers to walk cgraph and varpool.
+ (materialize_cgraph): Likewise.
+ * lto-partition.c (lto_1_to_1_map): Likewise.
+ (lto_balanced_map): Likewise.
+ (lto_promote_cross_file_statics): Likewise.
+
+2012-04-14 Jan Hubicka <jh@suse.cz>
+
+ * lto.c: Update field referenced for new cgraph/varpool layout.
+ * lto-partition.c: Likewise.
+
+2012-04-11 Jan Hubicka <jh@suse.cz>
+
+ * lto.c: Update copyright; remove params.h, ipa-inline.h
+ and ipa-utils.h inlines; inline lto-partition.h
+ (ltrans_partition_def, ltrans_partition, add_cgraph_node_to_partition,
+ add_varpool_node_to_partition, new_partition, free_ltrans_partitions,
+ add_references_to_partition, add_cgraph_node_to_partition_1,
+ add_cgraph_node_to_partition, add_varpool_node_to_partition,
+ undo_partition, partition_cgraph_node_p, partition_varpool_node_p,
+ lto_1_to_1_map, node_cmp, varpool_node_cmp, lto_balanced_map,
+ promote_var, promote_fn, lto_promote_cross_file_statics): move to...
+ * lto-partition.c: ... here; new file.
+ * lto-partition.h: New file.
+ * Make-lang.in (lto.o): Update dependencies.
+ (lto-partition.o): New.
+
+2012-04-05 Richard Guenther <rguenther@suse.de>
+
+ * lto-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Remove
+ definition.
+
+2012-03-12 Richard Guenther <rguenther@suse.de>
+
+ * lto-lang.c (builtin_type_for_size): Use lto_type_for_size.
+
+2012-03-06 Richard Guenther <rguenther@suse.de>
+
+ PR lto/52097
+ * lto.c (uniquify_nodes): Merge TYPE_FIELDS of variant types.
2012-02-28 Richard Guenther <rguenther@suse.de>
2010-09-16 Jan Hubicka <jh@suse.cz>
* lto.c (lto_materialize_function): Do not tamper with STATIC and
- EXTERNAL flags.
+ EXTERNAL flags.
2010-09-15 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* lto.c (O_BINARY): Define.
(lto_read_section_data): Open file in binary mode.
* lto-elf.c (O_BINARY): Define.
- (lto_elf_file_open): Open file in binary mode.
+ (lto_elf_file_open): Open file in binary mode.
2010-01-08 Richard Guenther <rguenther@suse.de>
2009-01-29 Ramana Radhakrishnan <ramana.r@gmail.com>
- * Make-lang.in (LTO_EXE): Link with all
+ * Make-lang.in (LTO_EXE): Link with all
BACKENDLIBS and not only GMPLIBS
2009-01-28 H.J. Lu <hongjiu.lu@intel.com>
exceptions flag is given.
* lto-lang.c: (lto_init_options) Set default exceptions flag.
(lto_init_eh): Remove exceptions flag initialization.
- (lto_init): Only call lto_init_eh if exceptions flag is set.
+ (lto_init): Only call lto_init_eh if exceptions flag is set.
2008-10-21 Diego Novillo <dnovillo@google.com>
* lto.c (lto_main): Call lto_fixup_nothrow_decls to fix up function
bodies affected by exception attribute merging of DECLs.
* lto-symtab.c (lto_symtab_merge_decl): Handle exception attribute
- merging.
+ merging.
2008-09-25 Rafael Espindola <espindola@google.com>
2008-08-04 Bill Maddox <maddox@google.com>
* lto-symtab.c (lto_symtab_merge_decl): Add comment.
-
+
2008-09-03 Doug Kwan <dougkwan@google.com>
lto.c (lto_add_all_inlinees): Reset FAILED_REASON of edges to
(lto_1_to_1_map, lto_add_all_inlinees, lto_wpa_write_files):
New functions.
(lto_main): Initialize bitmap obstack. Add code to handle WPA mode.
- * Make-lang.in (LTO_H): Replace filename lto-section-in.h with
+ * Make-lang.in (LTO_H): Replace filename lto-section-in.h with
variable LTO_SECTION_IN_H.
(lto/lto.o): Include gt-lto-lto-c.h ggc.h ,VEC_H, BITMAP_H,
pointer-set.h and IPA_PROP_H. Also replace filename lto-section-in.h
asserting.
(lto_post_options): Suppress debug info generation.
* Make-lang.in: Add dependency of lto-lang.o on tree-gimple.h.
-
+
2008-08-25 Bill Maddox <maddox@google.com>
* lto-symtab.c (lto_symtab_merge_decl): Remove a suspect
assertion and leave an explanatory comment in its place.
-
+
2008-08-21 Doug Kwan <dougkwan@google.com>
* lto.c (preload_common_nodes): Call lto_get_common_nodes to get a list
* lto.h (struct lto_file_struct): Remove GTY marker.
* config-lang.in: Remove lto/lto.h and lto/lto.c from
gtfiles.
-
+
2008-08-20 Bill Maddox <maddox@google.com>
* lto.c (lto_read_decls): Provide dummy argument to input_tree
to conform to its new signature.
* lto-symtab.c (lto_symtab_merge_decl): Do not invoke ggc_free
on discarded node here, now called in global_vector_fixup.
-
+
2008-08-09 Bill Maddox <maddox@google.com>
* lto.c (preload_common_nodes): Verify that fileptr_type_node
has not been set to a front-end-specific value.
-
+
2008-08-05 Doug Kwan <dougkwan@google.com>
-
+
* Make-lang.in (lto-symtab.o): Add missing dependencies to fix
build breakage.
2008-06-07 Kenneth Zadeck <zadeck@naturalbridge.com>
Jan Hubicka <jh@suse.cz>
-
+
* lto.c (sys/mman.h, tree-pass.h): New includes.
(lto_materialize_constructors_and_inits,
lto_materialize_function): Keeps length of section.
(lto_read_section_data, get_section_data, free_section_data): New
functions.
(lto_main): Now calls pass manager, sets the hooks so that the ipa
- passes can get the section data.
-
+ passes can get the section data.
+
2008-05-27 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto.h (lto_read_decls): Made local.
- (lto_input_function_body, lto_input_constructors_and_inits,
+ (lto_input_function_body, lto_input_constructors_and_inits,
lto_input_cgraph): Declarations moved to lto-section-in.h.
* lto-section-in.c: Moved to .. .
* lto-cgraph-in.c: Ditto.
(LANG_HOOKS_INSERT_BLOCK): Removed.
* Make-lang.in (lto-cgraph-in.o, lto-function-in.o,
lto-section-in.o): Rules moved to lto/Makefile.in.
+
2008-05-16 Ollie Wild <aaw@google.com>
(lto_file_read): Made local and initialize dictionary so that
other lto sections can be read without reprocessing the elf file.
(lto_main): Read all functions after all files have been processed
- for their types, globals and cgraph.
+ for their types, globals and cgraph.
* Make-lang.in (lto.o, lto-cgraph-in.c, lto-section-in): Changed
dependencies.
* lto-elf.c (lto_elf_file): Removed strtab, symtab fields.
* lto.h (lto_info_fd_struct): Removed unmaterialized_fndecls.
(lto_file_read): Made local.
(lto_get_file_name, lto_elf_build_section_table,
- lto_input_cgraph):
+ lto_input_cgraph):
New function.
* lto-section-in.c (lto_read_section_data, lto_get_section_data):
New functions.
* lto_section_in.h (lto_section_slot): New structure.
(section_hash_table.lto_file_decl_data): New field.
+
2008-02-09 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto.c (lto_read_variable_formal_parameter_const): Remove code to
* lto/lto-elf.c (lto_elf_map_optional_lto_section): Add
lto_section_type parameter.
(lto_elf_unmap_fn_body): Renamed to lto_elf_unmap_section.
- * lto.h (lto_file_vtable_struct): Removed two of the fields and
+ * lto.h (lto_file_vtable_struct): Removed two of the fields and
renamed the other two so that there is only one map function and
one unmap function and each takes a section type parameter.
(lto_read_function_body): Renamed to lto_input_function_body and
(lto_read_function_body, lto_input_constructors_and_inits):
Renamed to lto_input_function_body and takes file_data parameter.
* lto-section-in.h (lto_file_decl_data): New structure.
-
+
2008-01-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-function-in.c (input_globals.c): Changed input type to
(input_function): Renumber all stmts after they are input.
(lto_read_body, lto_read_function_body, lto_read_var_init):
Changed to used new header format and enum section_type.
- *lto-lang.c (success): Removed.
-
+ *lto-lang.c (success): Removed.
+
2008-01-28 Nathan Froyd <froydnj@codesourcery.com>
* lto-elf.c (lto_elf_lookup_sym): Remove unused function.
* lto-section-in.c: New file with changes from above.
* Make-lang.in (lto-read.o): Renamed lto-function-in.c.
(lto-section-in.o): New rule.
-
+
2007-12-29 Nathan Froyd <froydnj@codesourcery.com>
* lto-read.c (input_expr_operand): Mark static and external
* lto.h (struct lto_str_fd_struct): New struct.
(struct lto_file_struct): Added new field DEBUG_STR
to hold the file descriptor for the debug string table.
-
+
2007-12-07 Bill Maddox <maddox@google.com>
* lto.c (lto_str_fd_init): New function.
2007-11-16 Kenneth Zadeck <zadeck@naturalbridge.com>
- * lto-read.c (input_expr_operand): Get types right
+ * lto-read.c (input_expr_operand): Get types right
for COMPLEX_CST.
2007-11-16 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (make_new_block, input_cfg): Properly set
n_basic_blocks.
-
+
2007-11-16 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_array_type_DIE): Handle DIEs with DW_AT_GNU_vector
(input_expr_operand): Keeps track locally if current node needs a loc.
(input_local_var): Added code to handle DECL_INITIAL for
static local vars. Only set loc if necessary.
-
+
2007-11-15 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_subroutine_type_subprogram_DIE): Fix thinko'd
registered_builtin_fndecls.
2007-11-15 Kenneth Zadeck <zadeck@naturalbridge.com>
-
+
* lto-read.c (process_tree_flags, lto_static_init_local):
Renamed to ADD_CLASS_EXPR_FLAG. ADD_CLASS_DECL_FLAG New Macro.
(input_line_info, clear_line_info): Fixed new line number code.
(input_expr_operand): Added type to SWITCH_EXPR.
(lto_read_body): Properly initialized data_in.
Clear line info when leaving.
-
+
2007-11-13 Diego Novillo <dnovillo@google.com>
* lto.c (lto_read_variable_formal_parameter_constant_DIE):
2007-11-13 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_type_ref): Renamed from get_type_ref.
- (input_expr_operand, input_local_var): Renamed get_type_ref to
+ (input_expr_operand, input_local_var): Renamed get_type_ref to
input_type_ref.
- (input_expr_operand): Get the types correct for
+ (input_expr_operand): Get the types correct for
vector-cst. Get SSA_NAME_DEF_STMT correct for return_exprs.
-
+
2007-11-13 Doug Kwan <dougkwan@google.com>
* lto-read.c (input_widest_uint_uleb128): New function.
DW_AT_static_link and DW_AT_specification. Return the
specification if present.
(lto_read_base_type_DIE): Handle DW_ATE_complex_float.
-
+
2007-11-13 Nathan Froyd <froydnj@codesourcery.com>
* lto-lang.c: Include target.h.
* lto-read.c (input_expr_operand): Added code to properly handle
index filed. Added new RANGE_EXPR case.
-
+
2007-11-11 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (ADD_FUNC_FLAG): Deleted macro.
read flags of VAR_DECL and FUNCTION_DECL of size>1.
change global array num_flags_for_code to flags_length_for_code.
(set_line_info): Make decls work in USE_MAPPED_LOCATION mode.
-
+
2007-11-05 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_structure_union_class_type_DIE): Use proper record
* 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,
+ (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_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
(lto_read_body): Added code to get TYPE_DECLS read and to change
parameters to the calls above that had their parms reorganized.
+
2007-10-29 Nathan Froyd <froydnj@codesourcery.com>
* lto.h (lto_resolve_typedecl_ref): Declare.
* lto-read.c (input_expr_operand): Give label_values the proper
context and provide switch statements with a default type.
-
+
2007-10-23 Nathan Froyd <froydnj@codesourcery.com>
* lto-read.c (lto_read_body): Move call to init_ssa_operands...
(input_ssa_names): Now calls input_tree_flags.
(lto_read_body): Now sets cfun.
(lto_read_function_body): Now sets current_function_pointer.
-
+
2007-10-19 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_variable_formal_parameter_constant_DIE): Check
(input_expr_operand): Make asm operands use input_tree_list.
(input_local_var): Now uses input_tree_list.
(lto_read_body): Change placement for setting context of debug_labels.
-
+
+
2007-10-16 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_real): Output debugging in proper order.
written.
(dump_debug_stream): Also print char in hex.
(debug_out_fun): Fix signed unsigned mismatch.
-
+
2007-10-10 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_form): Handle DW_AT_MIPS_linkage_name and
2007-09-11 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_expr_operand): Added type for STRING_CST.
-
+
2007-09-10 Nathan Froyd <froydnj@codesourcery.com>
* lto-read.c (lto_read): Set the type of the newly created CALL_EXPR.
* lto-read.c (fun_in): Renamed to data_in.
(input_expr_operand, input_local_var, input_string_internal,
- input_string, input_real, input_list, get_label_decl,
+ input_string, input_real, input_list, get_label_decl,
get_type_ref, input_expr_operand, input_globals, input_labels,
- input_local_vars_index, input_local_var, input_local_vars,
+ input_local_vars_index, input_local_var, input_local_vars,
input_cfg, input_phi, input_ssa_names, input_bb, ): Renamed fun_in to data_in.
(input_constructor): New function.
(lto_read_function_body): Renamed to lto_read_body and generalized
to handle both functions and constructors.
(lto_read_function_body, lto_read_var_init): New function.
-
+
+
2007-08-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_expr_operand): Assert that there really is a
FUNCTION_DECL.
(input_globals): Removed checks on 0 section.
-
+
2007-08-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (fun_in): Added local_decls_index and
- local_decls_index_d.
+ local_decls_index_d.
(input_expr_operand): Changed inputting of PARM_DECLs and VAR_DECLs.
(input_globals): Enabled code to handle FIELD_DECLs.
(input_local_vars_index, input_local_vars): New function.
(input_local_var): Changed to allow locals to be input randomly.
(lto_read_function_body): Added code to input the
local_decls_index and to free various structures.
-
+
2007-08-17 Jim Blandy <jimb@codesourcery.com>
* lto.c (lto_read_variable_formal_parameter_constant_DIE): Remove
* lto.c (lto_read_form): Complete attr_classes table.
(DWARF2_form_data): Doc fix.
-
+
2007-08-05 Mark Mitchell <mark@codesourcery.com>
* lto.h (lto_file_vtable): Remove read_var_init. Add map_var_init
input_expr_operand, input_local_vars, input_cfg, input_phi,
input_ssa_names, input_bb, input_function): Added semicolons.
+
2007-07-31 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_globals): Remove debugging.
(input_function): Set DECL_ARGUMENTS.
+
2007-07-31 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_expr_operand): Fixed code for COND_EXEC,
(input_ssa_names): Initialize SSA_NAME_DEF_STMT to empty stmt.
(input_flags): New function.
* lto-lang.c (lto_init): Changed state of in_lto_p.
-
+
+
2007-07-24 Mark Mitchell <mark@codesourcery.com>
* lto-tree.h (lto_varargs_cookie): Remove.
(lto_read_function_body): Processes new header fields to construct
streams for the ssa_names and cfg and their debugging.
* lto/lto-lang.c (lto_init): Set in_lto_p.
-
+
+
2007-06-28 Mark Mitchell <mark@codesourcery.com>
* lto.h (lto_file_vtable): Add read_var_init.
* lto-read (make_new_block): Initialize the stmt_list.
(lto_static_init_local): Add debugging for missing codes.
-
+
2007-06-26 Mark Mitchell <mark@codesourcery.com>
* lto.c (lto_read_subroutine_type_subprogram_DIE): Handle
- unprototyped functions.
+ unprototyped functions.
2007-06-23 Mark Mitchell <mark@codesourcery.com>
* lto-symbtab.c: Build function types out of TREE_LISTs.
* lto-elf.c (<libelf>): Check for HAVE_LIBELF_H.
-
+
* Make-lang.in (LTO_OBJS): Depend on attribs.o.
-
+
2007-06-21 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto/lto-tree.h (lang_decl, lang_type, language_function): Added
(lto_read_form): Change first argument to lto_info_fd *.
Add FORM_CONTEXT argument.
Handle DW_FORM_ref_addr.
- (lto_read_tag_DIE): Change first argument to lto_info_fd *.
+ (lto_read_tag_DIE): Change first argument to lto_info_fd *.
(LTO_BEGIN_READ_ATTRS_UNCHECKED): Save old context.
Swap contexts if necessary for form.
(LTO_BEGIN_READ_ATTRS): Cast fd to right type for
* lto.h (DWARF2_CompUnit): New structure.
(lto_info_fd): Ditto.
(lto_file): Change debug_info to be an lto_info_fd.
-
+
2006-06-25 Mark Mitchell <mark@codesourcery.com>
* lto.c (toplev.h): Include it.
(lto_file): Use new types.
(lto_file_close): Declare.
* lto-lang.c (lto_init): Always use unit-at-a-time mode.
-
+
2006-06-18 Mark Mitchell <mark@codesourcery.com>
* lto.h: New file.
(lto.h): Likewise.
(lto_init): New function.
(lto_write_globals): Remove.
- (LANG_HOOKS_WRITE_GLOBALS): Define to lhd_do_nothing.
+ (LANG_HOOKS_WRITE_GLOBALS): Define to lhd_do_nothing.
(LANG_HOOKS_INIT): Define.
(LANG_HOOKS_PARSE_FILE): Likewise.
* Make-lang.in (LTO_OBJS): Add lto.o and lto-elf.o.