summaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2019-08-10 11:59:17 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2019-08-10 11:59:17 +0200
commitab20d992c828450ce4aa869e8995ef2924740fd0 (patch)
treeea9583c50cb1f8136d60635217dcde7e4e73a6f7 /gcc/lto
parent740392538848e2c1b4535f3b6fc7e018930c0a64 (diff)
Assorted ChangeLog cleanups.
From-SVN: r274250
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog265
1 files changed, 131 insertions, 134 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 480fb68e4fa..d150bf61ce4 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -71,6 +71,11 @@
(dump_list_functions): Release memory.
(dump_list_variables): Likewise.
+2019-06-25 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * lto-lang.c (lto_build_c_type_nodes): Accept "__intN__"
+ format of "__intN" types for SIZE_TYPE.
+
2019-06-24 Jan Hubicka <jh@suse.cz>
* lto-common.c (compare_tree_sccs_1): Compare CXX_ODR_P;
@@ -82,8 +87,8 @@
2019-05-16 Martin Sebor <msebor@redhat.com>
- * lto-dump.c (lto_main): Same.
- * lto.c (stream_out): Same.
+ * lto-dump.c (lto_main): Same.
+ * lto.c (stream_out): Same.
2019-05-10 Martin Liska <mliska@suse.cz>
@@ -215,7 +220,7 @@
2018-10-26 Jan Hubicka <jh@suse.cz>
- * lto/lto-symtab.c (lto_symtab_merge_decls_2): Fix extra space.
+ * lto-symtab.c (lto_symtab_merge_decls_2): Fix extra space.
2018-10-17 David Malcolm <dmalcolm@redhat.com>
@@ -240,7 +245,7 @@
2018-08-21 Tom de Vries <tdevries@suse.de>
- * lto.c (lto_main): Call debuginfo_early_start and
+ * lto.c (lto_main): Call debuginfo_early_start and
debuginfo_early_stop.
2018-07-20 Martin Sebor <msebor@redhat.com>
@@ -598,7 +603,7 @@
* lto-lang.c (lto_init): Set in_lto_p earlier.
2017-04-12 Richard Biener <rguenther@suse.de>
- Bernd Edlinger <bernd.edlinger@hotmail.de>
+ Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/79671
* lto.c (compare_tree_sccs_1): Compare TYPE_TYPELESS_STORAGE.
@@ -704,7 +709,7 @@
2016-06-10 Martin Sebor <msebor@redhat.com>
PR c/71392
- * gcc/lto/lto-lang.c (handle_nonnull_attribute): Accept the nonnull
+ * lto-lang.c (handle_nonnull_attribute): Accept the nonnull
attribute in type-generic builtins.
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
@@ -1047,7 +1052,6 @@
2015-06-08 Jan Hubicka <hubicka@ucw.cz>
-
* lto.c (hash_canonical_type): Do not hash TREE_CODE of TREE_TYPE of
pointers.
@@ -1253,7 +1257,7 @@
Andrey Turetskiy <andrey.turetskiy@intel.com>
Michael Zolotukhin <michael.v.zolotukhin@intel.com>
- * lto/lto.c (read_cgraph_and_symbols): Call input_offload_tables.
+ * lto.c (read_cgraph_and_symbols): Call input_offload_tables.
2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
Ilya Tocar <ilya.tocar@intel.com>
@@ -1407,7 +1411,7 @@
2014-07-11 Jan Hubicka <hubicka@ucw.cz>
- * lto-partition.c (add_references_to_partition): Use
+ * lto-partition.c (add_references_to_partition): Use
varpool_ctor_useable_for_folding_p.
* lto.c (lto_read_in_decl_state): Update sanity check.
@@ -1438,11 +1442,11 @@
2014-06-25 Martin Liska <mliska@suse.cz>
- * lto/lto-partition.c (add_references_to_partition): New IPA REF function
+ * lto-partition.c (add_references_to_partition): New IPA REF function
used.
(add_symbol_to_partition_1): Likewise.
(lto_balanced_map): Likewise.
- * lto/lto-symtab.c (lto_cgraph_replace_node): Likewise.
+ * lto-symtab.c (lto_cgraph_replace_node): Likewise.
2014-06-24 Jan Hubicka <hubicka@ucw.cz>
@@ -1563,7 +1567,7 @@
2014-04-14 Jan Hubicka <hubicka@ucw.cz>
- * lto/lto-symtab.c (lto_cgraph_replace_node): Don't re-merge
+ * lto-symtab.c (lto_cgraph_replace_node): Don't re-merge
tp_first_run.
2014-03-19 Jan Hubicka <hubicka@ucw.cz>
@@ -1574,7 +1578,7 @@
2014-03-19 Richard Biener <rguenther@suse.de>
PR middle-end/60553
- * lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT
+ * lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT
instead of TREE_CHAIN as chain_next.
2014-03-19 Richard Biener <rguenther@suse.de>
@@ -1669,7 +1673,7 @@
2014-02-04 Jan Hubicka <hubicka@ucw.cz>
- * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY
+ * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY
needs duplicating, not generic COMDAT.
2014-02-04 Richard Biener <rguenther@suse.de>
@@ -1727,10 +1731,10 @@
2013-11-22 Andrew MacLeod <amacleod@redhat.com>
* lto.c: Add required include files from gimple.h.
- * lto-lang.c: Likewise
- * lto-object.c: Likewise
- * lto-partition.c: Likewise
- * lto-symtab.c: Likewise
+ * lto-lang.c: Likewise.
+ * lto-object.c: Likewise.
+ * lto-partition.c: Likewise.
+ * lto-symtab.c: Likewise.
2013-11-18 Trevor Saunders <tsaunders@mozilla.com>
@@ -1842,8 +1846,8 @@
2013-10-29 Andrew MacLeod <amacleod@redhat.com>
- * lto/lto-object.c: Add gimple.h to include list.
- * lto/lto-partition.c: Likewise.
+ * lto-object.c: Add gimple.h to include list.
+ * lto-partition.c: Likewise.
2013-10-18 Andrew MacLeod <amacleod@redhat.com>
@@ -1928,7 +1932,7 @@
2013-08-31 Jan Hubicka <jh@suse.cz>
- * lto.c (mentions_vars_p_field_decl, lto_fixup_prevailing_decls):
+ * lto.c (mentions_vars_p_field_decl, lto_fixup_prevailing_decls):
DECL_FIELD_OFFSET can contain an reference to variable.
2013-08-31 Jan Hubicka <jh@suse.cz>
@@ -1990,7 +1994,7 @@
2013-08-06 Jan Hubicka <jh@suse.cz>
Martin Liska <marxin.liska@gmail.com>
- * lto-partition.c (lto_balanced_map): Always base order on
+ * lto-partition.c (lto_balanced_map): Always base order on
source file order.
2013-08-06 Jan Hubicka <jh@suse.cz>
@@ -2226,7 +2230,7 @@
2012-10-08 Jan Hubicka <jh@suse.cz>
- * lto/lto.c (remember_with_vars): Also fixup INTEGER_CST.
+ * lto.c (remember_with_vars): Also fixup INTEGER_CST.
(fixup_integer_cst): New functoin.
(lto_ft_type): Fixup BASETYPE of methods and offsets.
@@ -2238,7 +2242,7 @@
2012-10-06 Jan Hubicka <jh@suse.cz>
- PR lto/54790
+ PR lto/54790
* lto.c (resolution_map): New static var.
(register_resolution): New function.
(lto_register_var_decl_in_symtab): Use it.
@@ -2251,7 +2255,7 @@
2012-09-19 Dehao Chen <dehao@google.com>
- * lto/lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field.
+ * lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field.
2012-09-19 Jan Hubicka <jh@suse.cz>
@@ -2382,10 +2386,10 @@
2012-06-18 Lawrence Crowl <crowl@google.com>
- * lto.c (do_whole_program_analysis): Rename use of TV_PHASE_CGRAPH to
+ * 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
+ (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.
@@ -2629,7 +2633,6 @@
(promote_fn): Likewise.
(lto_promote_cross_file_statics): Update comment.
-
2011-06-07 Diego Novillo <dnovillo@google.com>
* lto.c (uniquify_nodes): Move code to register decls to
@@ -2813,7 +2816,7 @@
2011-03-25 Jeff Law <law@redhat.com>
- * lto/lto-lang.c (def_fn_type): Add missing va_end.
+ * lto-lang.c (def_fn_type): Add missing va_end.
2011-03-21 Kai Tietz <ktietz@redhat.com>
@@ -2981,7 +2984,7 @@
2010-10-05 Jan Hubicka <jh@suse.cz>
- * lto.c: Include params.h.
+ * lto.c: Include params.h.
(add_cgraph_node_to_partition, add_varpool_node_to_partition): Do
refcounting in aux field.
(undo_partition, partition_cgraph_node_p, partition_varpool_node_p):
@@ -3035,7 +3038,7 @@
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>
@@ -3162,7 +3165,7 @@
2010-06-09 Kai Tietz <kai.tietz@onevision.com>
- * lto.c (lto_resolution_read): Pre-initialize local variable r.
+ * lto.c (lto_resolution_read): Pre-initialize local variable r.
* lto-coff.c (coff_write_object_file): Add braces to if.
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
@@ -3316,7 +3319,6 @@
'long long unsigned int' for x64-windows.
(lto_init): Likewise.
-
2010-05-07 Steven Bosscher <steven@gcc.gnu.org>
* lto.h (struct lto_file_struct): Document offset member.
@@ -3368,12 +3370,12 @@
2010-04-28 Jan Hubicka <jh@suse.cz>
- * lto/lto.c (lto_read_in_decl_state): Use GGC.
+ * lto.c (lto_read_in_decl_state): Use GGC.
(lto_wpa_write_files): Announce what we are writting.
(all_file_decl_data): New.
(read_cgraph_and_symbols): Use GGC; correct timevars.
(do_whole_program_analysis): Collect.
- * lto/Make-lang.in (lto.o): Fix dependency.
+ * Make-lang.in (lto.o): Fix dependency.
* Makefile.in (GTFILES): Add lto-streamer.h.
* varpool.c (varpool_analyze_pending_decls): Use TV_VARPOOL.
(varpool_assemble_pending_decls): Use VAROUT.
@@ -3494,7 +3496,7 @@
* 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>
@@ -4054,7 +4056,7 @@
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>
@@ -4178,17 +4180,17 @@
2008-11-09 Diego Novillo <dnovillo@google.com>
- * lto/lto.c (lto_fixup_tree): Change error message locus
+ * lto.c (lto_fixup_tree): Change error message locus
information to include location of mismatching
declaration.
Use TREE_NO_WARNING to avoid repeated messages.
(lto_main): If lto_fixup_decls emitted any errors, exit.
- * lto/lto-lang.c: Don't include libfuncs.h and except.h
+ * lto-lang.c: Don't include libfuncs.h and except.h
(lto_init_options): Don't enable exceptions by default.
(lto_eh_runtime_type): Move to lto-function-in.c
(lto_init_eh): Likewise.
(lto_init): Don't call lto_init_eh.
- * lto/Make-lang.in (lto-lang.o): Remove dependency on
+ * Make-lang.in (lto-lang.o): Remove dependency on
libfuncs.h and except.h.
2008-10-30 Diego Novillo <dnovillo@google.com>
@@ -4221,16 +4223,16 @@
input_cgraph): Move to lto-cgraph.c in gcc directory above.
(LANG_HOOKS_INPUT_CGRAPH): Remove use of macro.
-2008-10-24 Rafael Espindola <espindola@google.com>
+2008-10-24 Rafael Espindola <espindola@google.com>
* lto-function-in.c (get_resolution): Return LDPR_PREEMPTED_IR for
non prevailing weak symbols.
-2008-10-24 Rafael Espindola <espindola@google.com>
+2008-10-24 Rafael Espindola <espindola@google.com>
* lto-lang.c (input_cgraph_1): Iterate over nodes, not cgraph_nodes.
-2008-10-24 Rafael Espindola <espindola@google.com>
+2008-10-24 Rafael Espindola <espindola@google.com>
* lto-lang.c (input_node): Avoid casts from pointers to ints of
different types.
@@ -4254,7 +4256,7 @@
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>
@@ -4319,7 +4321,7 @@
walking of nodes except for DECLs to be replaced. Pass an
lto_fixup_data_t object to tree-walker.
-2008-10-08 Rafael Espindola <espindola@google.com>
+2008-10-08 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_set_resolution): New.
(lto_symtab_merge_decl): Use lto_symtab_set_resolution and
@@ -4328,18 +4330,18 @@
(lto_symtab_get_resolution): New.
* lto.c (lto_fixup_tree, lto_fixup_state): Remove unecessary checks.
-2008-10-06 Rafael Espindola <espindola@google.com>
+2008-10-06 Rafael Espindola <espindola@google.com>
* lto-lang.c: Include cgraph.h.
(input_overwrite_node, input_node, input_edge, input_cgraph_1,
input_cgraph): Moved from lto-cgraph.c.
(LANG_HOOKS_INPUT_CGRAPH): New.
-2008-10-03 Rafael Espindola <espindola@google.com>
+2008-10-03 Rafael Espindola <espindola@google.com>
* lto.c (lto_fixup_tree, lto_fixup_state): Fix the FIXME.
-2008-10-03 Rafael Espindola <espindola@google.com>
+2008-10-03 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_overwrite_decl): Remove. Remove all calls.
(lto_symtab_merge_decl): Update LTO_IDENTIFIER_DECL the reflect the
@@ -4359,13 +4361,13 @@
* lto-lang.c (lto_post_options): Add validation and fixups for
-fltrans and -fwpa.
-2008-10-02 Rafael Espindola <espindola@google.com>
+2008-10-02 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_merge_var, lto_symtab_merge_fn,
lto_symtab_merge_decl): Return void.
(lto_symtab_prevailing_decl): New.
-2008-09-30 Rafael Espindola <espindola@google.com>
+2008-09-30 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_compatible): Remove the check for already
defined symbols.
@@ -4376,7 +4378,7 @@
(LTO_IDENTIFIER_RESOLUTION): Remove.
(LTO_DECL_RESOLUTION): New.
-2008-09-30 Rafael Espindola <espindola@google.com>
+2008-09-30 Rafael Espindola <espindola@google.com>
* lto.c (lto_read_decls): Use new input_tree signature.
@@ -4385,7 +4387,7 @@
* 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>
@@ -4404,7 +4406,7 @@
* lang.opt (fltrans-output-list=): New option.
* lto.c (lto_execute_ltrans): Output file names to ltrans_output_list.
-2008-09-25 Rafael Espindola <espindola@google.com>
+2008-09-25 Rafael Espindola <espindola@google.com>
* lto.c (lto_resolution_read): Initialize ret;
@@ -4423,7 +4425,7 @@
* Make-lang.in (LTRANS_DRIVER_INSTALL_NAME): New variable.
(lto.install-common): Add lto/ltrans-driver.
-2008-09-24 Rafael Espindola <espindola@google.com>
+2008-09-24 Rafael Espindola <espindola@google.com>
* Make-lang.in (LTO_OBJS): Add lto/common.o.
(lto/lto.o): Depend on lto/common.h.
@@ -4444,12 +4446,12 @@
Read resolution.
* lto.h (resolution_file_name): New.
-2008-09-23 Rafael Espindola <espindola@google.com>
+2008-09-23 Rafael Espindola <espindola@google.com>
* common.c: Update description.
* common.h: Update description.
-2008-09-23 Rafael Espindola <espindola@google.com>
+2008-09-23 Rafael Espindola <espindola@google.com>
* common.c: Moved from lto-plugin.
* common.h: Moved from lto-plugin.
@@ -4504,10 +4506,10 @@
* lto-lang.c: Include header file expr.h.
(COMPOUND_LITERAL_EXPR_DECL_STMT,
COMPOUND_LITERAL_EXPR_DECL): Copied from c-common.h.
- (emit_local_var): Copied from c-semantics.c.
+ (emit_local_var): Copied from c-semantics.c.
(lto_expand_expr, lto_staticp): Copied from c_expand_expr
and c_staticp in c-common.c.
- (LANG_HOOKS_EXPAND_EXPR,LANG_HOOKS_STATICP): Redefined.
+ (LANG_HOOKS_EXPAND_EXPR,LANG_HOOKS_STATICP): Redefined.
2008-09-08 Diego Novillo <dnovillo@google.com>
@@ -4521,7 +4523,7 @@
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
@@ -4577,7 +4579,7 @@
(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
@@ -4593,12 +4595,12 @@
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
@@ -4628,21 +4630,21 @@
* 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.
@@ -4680,14 +4682,14 @@
* lto.c (lto_read_decls): Fix C++ compatibility warnings.
Make code const-correct.
(lto_file_read): Fix C++ compatibility warnings.
- (lto_read_section_data): Fix C++ compatibility warnings.
+ (lto_read_section_data): Fix C++ compatibility warnings.
(lto_get_section_data): Use CONST_CAST to avoid warning when
const pointer passed to free.
* lto-elf.c (lto_elf_build_section_table): Fix C++
compatibility warnings.
- (lto_elf_append_data): Fix C++ compatibility warnings. Use CONST_CAST
+ (lto_elf_append_data): Fix C++ compatibility warnings. Use CONST_CAST
to avoid warning assigning const pointer to d_buf field of Elf_Data.
- (lto_get_current_out_file): Fix C++ compatibility warnings.
+ (lto_get_current_out_file): Fix C++ compatibility warnings.
2008-07-11 Diego Novillo <dnovillo@google.com>
@@ -4861,7 +4863,7 @@
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.
@@ -4873,12 +4875,12 @@
(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.
@@ -4889,7 +4891,7 @@
(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>
@@ -4970,7 +4972,7 @@
(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.
@@ -4980,7 +4982,7 @@
* 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.
@@ -4995,7 +4997,6 @@
* 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
@@ -5011,10 +5012,10 @@
differently.
* Make-lang.in (LTO_H, lto/lto-function-in.o,
lto/lto-section-in.o): Update dependencies.
- * lto/lto-elf.c (lto_elf_map_optional_lto_section): Add
+ * 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
@@ -5032,7 +5033,7 @@
(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
@@ -5041,8 +5042,8 @@
(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.
@@ -5074,7 +5075,7 @@
* 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
@@ -5197,7 +5198,7 @@
* 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.
@@ -5313,14 +5314,14 @@
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
@@ -5340,7 +5341,7 @@
(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
@@ -5365,14 +5366,14 @@
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):
@@ -5385,11 +5386,11 @@
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.
@@ -5407,7 +5408,7 @@
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.
@@ -5423,7 +5424,7 @@
* 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.
@@ -5484,14 +5485,14 @@
(struct lto_file_struct): Declare.
(lto_file_vtable): Use it instead of lto_file.
-2007-11-06 Alon Dayan <alond@il.ibm.com>
- Kenneth Zadeck <zadeck@naturalbridge.com>
+2007-11-06 Alon Dayan <alond@il.ibm.com>
+ Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (process_flags, lto_static_init_local):
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
@@ -5537,10 +5538,10 @@
* 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
@@ -5554,7 +5555,6 @@
(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.
@@ -5576,7 +5576,7 @@
* 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...
@@ -5610,7 +5610,7 @@
(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
@@ -5685,8 +5685,7 @@
(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.
@@ -5698,7 +5697,7 @@
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
@@ -5736,7 +5735,7 @@
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.
@@ -5770,33 +5769,32 @@
* 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
@@ -5827,7 +5825,7 @@
* 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
@@ -5846,7 +5844,7 @@
* lto-read.c (lto_read_function_body): Moved declaration of fn
outside of ifdef.
-
+
2007-08-01 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_uleb128, input_string_internal, input_real,
@@ -5855,7 +5853,7 @@
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.
@@ -5870,8 +5868,8 @@
(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.
@@ -5920,9 +5918,9 @@
(input_function): Now builds both the cfg and ssa_names table.
(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.
-
-
+ * 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.
@@ -5949,11 +5947,11 @@
* 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>
@@ -5965,20 +5963,19 @@
* 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-tree.h (lang_decl, lang_type, language_function): Added
dummy since ggc does not like empty structs.
- * lto/lto-elf.c (libelf.h): Changed to libelf/libelf.h.
- * lto/lto-read.c (ADD_CLASS_FLAG, ADD_EXPR_FLAG): Changed
+ * lto-elf.c (libelf.h): Changed to libelf/libelf.h.
+ * lto-read.c (ADD_CLASS_FLAG, ADD_EXPR_FLAG): Changed
expr->common to expr->base.
(make_new_block): Moved stmt_list to proper place.
-
-2007-03-14 Robert Kennedy <jimbob@google.com>
+2007-03-14 Robert Kennedy <jimbob@google.com>
Eliminate use of lang_hooks.set_decl_assembler_name from LTO
* lto.c (lto_read_subroutine_type_subprogram_DIE) Get DECL
@@ -6091,7 +6088,7 @@
(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
@@ -6114,7 +6111,7 @@
* 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.
@@ -6173,7 +6170,7 @@
(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.
@@ -6183,7 +6180,7 @@
(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.