+2023-12-05 Richard Sandiford <richard.sandiford@arm.com>
+
+ * lto-lang.cc (lto_gnu_attribute_table): Add extra braces to work
+ around PR 16333 in older compilers.
+ (lto_format_attribute_table): Likewise.
+
+2023-12-02 Richard Sandiford <richard.sandiford@arm.com>
+
+ * lto-lang.cc (lto_format_attribute_table): Change type to
+ scoped_attribute_specs, using...
+ (lto_format_attributes): ...this as the underlying array.
+ (lto_attribute_table): Change to an array of scoped_attribute_specs
+ pointers, using...
+ (lto_gnu_attributes, lto_gnu_attribute_table): ...these new globals
+ for the original array. Include the format attributes.
+ (LANG_HOOKS_COMMON_ATTRIBUTE_TABLE): Delete.
+ (LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE): Delete.
+ (LANG_HOOKS_ATTRIBUTE_TABLE): Define.
+
+2023-11-07 Joseph Myers <joseph@codesourcery.com>
+
+ * lto-lang.cc (flag_isoc2x): Rename to flag_isoc23.
+
+2023-09-30 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * Make-lang.in: Make create_fdas_for_lto1 target not .PHONY
+
+2023-09-19 Thomas Schwinge <thomas@codesourcery.com>
+ Pan Li <pan2.li@intel.com>
+
+ * lto-common.cc (lto_mode_identity_table): Remove.
+ (lto_file_finalize) [!ACCEL_COMPILER]: 'NULL'-intialize
+ 'file_data->mode_table'.
+ (lto_fe_init): Don't initialize 'lto_mode_identity_table'.
+ * lto-common.h (lto_mode_identity_table): Remove.
+
+2023-07-05 Robin Dapp <rdapp@ventanamicro.com>
+ Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * lto-lang.cc (lto_type_for_mode): Ditto.
+
+2023-07-04 Pan Li <pan2.li@intel.com>
+ Thomas Schwinge <thomas@codesourcery.com>
+
+ * lto-common.cc (lto_file_finalize) [!ACCEL_COMPILER]: Initialize
+ 'file_data->mode_bits'.
+
+2023-07-04 Thomas Schwinge <thomas@codesourcery.com>
+
+ * lto-common.cc (lto_read_decls): Adjust.
+
+2023-06-29 Qing Zhao <qing.zhao@oracle.com>
+
+ * lto-common.cc (compare_tree_sccs_1): Compare bit
+ TYPE_NO_NAMED_ARGS_STDARG_P or TYPE_INCLUDES_FLEXARRAY properly
+ for its corresponding type.
+
+2023-06-29 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * Make-lang.in: Pass correct stage lto when processing
+ profile data collected while building target libraries
+
+2023-06-28 Richard Biener <rguenther@suse.de>
+
+ * lto-common.cc (compare_tree_sccs_1): Use TYPE_PRECISION_RAW.
+
+2023-05-18 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * lto-common.cc (lto_maybe_register_decl): Use _P defines from tree.h.
+ * lto-symtab.cc (warn_type_compatibility_p): Ditto.
+ (lto_symtab_resolve_replaceable_p): Ditto.
+ (lto_symtab_merge_decls_1): Ditto.
+ * lto-symtab.h (lto_symtab_prevailing_decl): Ditto.
+
+2023-04-28 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * Make-lang.in: Merge perf data collected when compiling lto1 and runtime libraries
+
+2023-03-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/108910
+ * lto-common.cc (lto_fixup_prevailing_type): Don't add t to
+ TYPE_POINTER_TO or TYPE_REFERENCE_TO chain if it has
+ TYPE_ATTRIBUTES or is TYPE_REF_IS_RVALUE.
+
+2023-01-13 Richard Biener <rguenther@suse.de>
+
+ * lto-lang.cc (lto_type_for_mode): Sync with
+ c_common_type_for_mode.
+
+2023-01-04 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-partition.cc (may_need_named_section_p): Clones with no body
+ need no remaning.
+
+2022-12-29 Alexandre Oliva <oliva@adacore.com>
+
+ * lto-partition.cc (lto_1_to_1_map): Drop NULL partition
+ mapping.
+
+2022-12-22 Richard Biener <rguenther@suse.de>
+
+ * lto-common.cc (compare_tree_sccs_1): Compare DECL_NOT_FLEXARRAY.
+
+2022-12-21 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-common.cc (lto_resolution_read): With incremental linking
+ and whole program ignore turn LDPR_PREVAILING_DEF_IRONLY to
+ LDPR_PREVAILING_DEF_IRONLY_EXP
+ * lto-lang.cc (lto_post_options): Do not clear flag_whole_program
+ for incremental link
+
+2022-11-25 Martin Liska <mliska@suse.cz>
+
+ PR lto/107829
+ * lto.cc (materialize_cgraph): Call timevar_push before
+ materialization starts.
+
+2022-10-29 Thomas Schwinge <thomas@codesourcery.com>
+
+ * lang.opt: Better separate 'LTO' vs. 'LTODump'.
+
+2022-10-28 Joseph Myers <joseph@codesourcery.com>
+
+ * lto-common.cc (compare_tree_sccs_1): Compare
+ TYPE_NO_NAMED_ARGS_STDARG_P.
+
+2022-10-28 Martin Liska <mliska@suse.cz>
+
+ * lto-dump.cc (dump_list): Remove trailing return.
+ (dump_symbol): Likewise.
+ (dump_body): Filter name based on mangled name.
+ (dump_tool_help): Use GIMPLE wording.
+ (lto_main): Update wording.
+
+2022-10-27 Martin Liska <mliska@suse.cz>
+
+ PR lto/107418
+ * lto-dump.cc (lto_main): Do not load LTO stream for aliases.
+
+2022-09-15 Richard Biener <rguenther@suse.de>
+
+ * lto-lang.cc (lto_build_c_type_nodes): Do not initialize
+ void_list_node.
+
+2022-08-22 Martin Liska <mliska@suse.cz>
+
+ PR lto/106700
+ * lto.cc (wait_for_child): Ask if we are connected to jobserver.
+ (stream_out_partitions): Likewise.
+
+2022-08-10 Martin Liska <mliska@suse.cz>
+
+ PR lto/106328
+ * lto.cc (wait_for_child): Decrement nruns once a process
+ finishes.
+ (stream_out_partitions): Use job server if active.
+ (do_whole_program_analysis): Likewise.
+
+2022-07-08 Martin Liska <mliska@suse.cz>
+
+ * lto-dump.cc (lto_main): Exit in the function
+ as we don't want any LTO bytecode processing.
+
+2022-06-27 David Malcolm <dmalcolm@redhat.com>
+
+ * lto-dump.cc: Add "final" and "override" to various vfunc
+ implementations, removing redundant "virtual" as appropriate.
+
+2022-05-16 Martin Liska <mliska@suse.cz>
+
+ * lto-common.cc (lto_resolution_read): Use ARRAY_SIZE.
+ * lto-lang.cc (lto_init): Likewise.
+
+2022-03-23 Tobias Burnus <tobias@codesourcery.com>
+
+ PR middle-end/104285
+ * lto-partition.cc (maybe_rewrite_identifier): Use get_identifier
+ for the returned string to be usable as hash key.
+ (validize_symbol_for_target): Hence, use return value directly.
+ (privatize_symbol_name_1): Track maybe_rewrite_identifier renames.
+ * lto.cc (offload_handle_link_vars): Move function up before ...
+ (do_whole_program_analysis): Call it after static renamings.
+ (lto_main): Move call after static renamings.
+
+2022-02-04 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/90348
+ PR middle-end/104092
+ * lto-common.cc (compare_tree_sccs_1): Compare CLOBBER_KIND.
+
+2022-02-02 Martin Liska <mliska@suse.cz>
+
+ PR lto/104333
+ * lto-common.cc (read_cgraph_and_symbols): Move resolution
+ checking for number of files later and report a reasonable
+ error message.
+ * lto-object.cc (lto_obj_file_open): Make error fatal.
+
+2022-01-17 Martin Liska <mliska@suse.cz>
+
+ * config-lang.in: Rename .c names to .cc.
+ * lang-specs.h: Likewise.
+ * lto-common.cc (gimple_register_canonical_type_1): Likewise.
+ * lto-common.h: Likewise.
+ * lto-dump.cc (lto_main): Likewise.
+ * lto-lang.cc (handle_fnspec_attribute): Likewise.
+ (lto_getdecls): Likewise.
+ (lto_init): Likewise.
+ * lto.cc (lto_main): Likewise.
+ * lto.h: Likewise.
+
+2022-01-17 Martin Liska <mliska@suse.cz>
+
+ * common.c: Moved to...
+ * common.cc: ...here.
+ * lto-common.c: Moved to...
+ * lto-common.cc: ...here.
+ * lto-dump.c: Moved to...
+ * lto-dump.cc: ...here.
+ * lto-lang.c: Moved to...
+ * lto-lang.cc: ...here.
+ * lto-object.c: Moved to...
+ * lto-object.cc: ...here.
+ * lto-partition.c: Moved to...
+ * lto-partition.cc: ...here.
+ * lto-symtab.c: Moved to...
+ * lto-symtab.cc: ...here.
+ * lto.c: Moved to...
+ * lto.cc: ...here.
+
+2021-11-18 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-partition.c (promote_symbol): Clear semantic_interposition flag.
+
+2021-11-06 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/103070
+ PR ipa/103058
+ * lto-partition.c (must_not_rename): Update comment.
+ (promote_symbol): Set resolution to LDPR_PREVAILING_DEF_IRONLY.
+
+2021-10-22 Eric Gallager <egallager@gcc.gnu.org>
+
+ PR other/102663
+ * Make-lang.in: Add dummy lto.install-dvi target.
+
+2021-09-27 Martin Liska <mliska@suse.cz>
+
+ * lto-lang.c (lto_init_options_struct): Set also
+ x_flag_default_complex_method.
+
+2021-09-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/102024
+ * lto-common.c (compare_tree_sccs_1): Also compare
+ DECL_FIELD_CXX_ZERO_WIDTH_BIT_FIELD values.
+
+2021-09-02 liuhongt <hongtao.liu@intel.com>
+
+ * lto-lang.c (lto_type_for_mode): Return float16_type_node
+ when mode == TYPE_MODE (float16_type_node).
+
+2021-05-31 Martin Liska <mliska@suse.cz>
+
+ * lto-common.c (compare_tree_sccs_1): Compare
+ FUNCTION_DECL_DECL_TYPE.
+
+2021-05-24 Wang Liushuai <wangliushuai@bytedance.com>
+
+ * lto-dump.c (get_size): Fix the NPD error about the thunk symbol.
+
+2021-04-15 Jan Hubicka <hubicka@ucw.cz>
+
+ PR lto/98599
+ * lto.c (lto_wpa_write_files): Fix handling of clones.
+
+2021-04-08 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/99883
+ * lto-lang.c (lto_post_options): Correct spelling.
+
+2021-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99304
+ * lto-symtab.c (lto_symtab_prevailing_virtual_decl): Fix comment
+ typos - refernced -> referenced and
+ devirtualizaiton -> devirtualization.
+
+2020-12-16 Martin Liska <mliska@suse.cz>
+
+ * lang.opt: Remove usage of Report.
+
+2020-11-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/97911
+ * Make-lang.in (lto1.serial, lto2.serial): Change from goals to
+ variables.
+ (.PHONY): Drop lto1.serial, lto2.serial, lto1.prev and lto2.prev.
+ ($(LTO_EXE)): Depend on $(lto1.serial) rather than lto1.serial.
+ ($(LTO_DUMP_EXE)): Depend on $(lto2.serial) rather than lto2.serial.
+
+2020-11-18 Jerry Clcanny <a837940593@gmail.com>
+
+ * lto-symtab.c (lto_symtab_merge_symbols): Fix typos in comment.
+
+2020-11-18 Jakub Jelinek <jakub@redhat.com>
+
+ * Make-lang.in (lto, lto1.serial, lto2.serial): New goals.
+ (.PHONY): Add lto lto1.serial lto1.prev lto2.serial lto2.prev.
+ (lto.all.cross, lto.start.encap): Remove dependencies.
+ ($(LTO_EXE)): Depend on lto1.prev. Call LINK_PROGRESS.
+ ($(LTO_DUMP_EXE)): Depend on lto2.prev. Call LINK_PROGRESS.
+
+2020-11-17 Jan Hubicka <jh@suse.cz>
+
+ PR bootstrap/97857
+ * lto-common.c (gimple_register_canonical_type_1): Only
+ register types with TYPE_CXX_ODR_P flag; sanity check that no
+ conflict happens at ltrans time.
+
+2020-11-06 Nathan Sidwell <nathan@acm.org>
+
+ * lto-symtab.c (lto_symtab_merge_decls_1): Rename
+ DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN.
+
+2020-10-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR lto/96680
+ * lto-common.c (lto_fixup_prevailing_decls): Don't use
+ LTO_NO_PREVAIL on TREE_LIST's TREE_PURPOSE.
+ * lto-partition.c (lto_balanced_map): Treat declare_variant_alt
+ nodes like definitions.
+
+2020-10-23 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-partition.c (add_symbol_to_partition_1): Update for new thunk
+ api.
+
+2020-08-27 Martin Liska <mliska@suse.cz>
+
+ * lto-common.c (lto_file_finalize): Set exact argument of a vector
+ growth function to true.
+
+2020-06-03 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-common.c (compare_tree_sccs_1): Do not compare TYPE_VALUES.
+
+2020-05-22 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-common.c (lto_read_decls): Do not skip stray refs.
+
+2020-05-20 Jan Hubicka <hubicka@ucw.cz>
+
+ * lto-common.c (compare_tree_sccs_1): Sanity check that we never
+ read TRANSLATION_UNIT_DECL.
+ (process_dref): Break out from ...
+ (unify_scc): ... here.
+ (process_new_tree): Break out from ...
+ (lto_read_decls): ... here; handle streaming of singleton trees.
+ (print_lto_report_1): Update statistics.
+
+2020-05-07 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/94703
+ * lto-common.c (compare_tree_sccs_1): Compare
+ DECL_NOT_GIMPLE_REG_P.
+
+2020-04-29 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/94707
+ * lto-common.c (compare_tree_sccs_1): Handle DECL_FIELD_ABI_IGNORED.
+
+2020-04-17 Martin Liska <mliska@suse.cz>
+
+ PR lto/94612
+ * lto-common.c: Initialize file_data->lto_section_header
+ before lto_mode_identity_table call. It is needed because
+ it decompresses a LTO section.
+
+2020-04-08 Martin Liska <mliska@suse.cz>
+
+ PR c++/94314
+ * lto-common.c (compare_tree_sccs_1): Compare also
+ DECL_IS_REPLACEABLE_OPERATOR.
+
+2020-03-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/94223
+ * lto-lang.c (lto_set_decl_assembler_name): Use a static ulong
+ counter instead of DECL_UID.
+
+2020-03-24 Tobias Burnus <tobias@codesourcery.com>
+
+ PR libgomp/81689
+ * lto.c (offload_handle_link_vars): Propagate TREE_PUBLIC state.
+
2020-01-29 Tobias Burnus <tobias@codesourcery.com>
* lto.c (offload_handle_link_vars): Reduce chance of
2018-10-30 Michael Ploujnikov <michael.ploujnikov@oracle.com>
* lto-partition.c (privatize_symbol_name_1): Use
- clone_function_name_numbered.
+ clone_function_name_numbered.
2018-10-26 Jan Hubicka <jh@suse.cz>
(lto_fixup_prevailing_decls): Handle fixing up CONSTRUCTOR values.
2014-02-04 Jan Hubicka <hubicka@ucw.cz>
- Markus Trippelsdorf
+ Markus Trippelsdorf
PR ipa/59469
* lto-symtab.c (lto_cgraph_replace_node, lto_varpool_replace_node):
2010-10-03 Andi Kleen <ak@linux.intel.com>
* lto.c (lto_file_finalize): Replace gcc_assert for missing section
- with fatal_error.
+ with fatal_error.
2010-09-28 Jan Hubicka <jh@suse.cz>
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.
+ * 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-tree.h: Likewise.
* lto-lang.c: Likewise.
\f
-Copyright (C) 2006-2020 Free Software Foundation, Inc.
+Copyright (C) 2006-2023 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright