https://gcc.gnu.org/g:5ac3a14842e7bb3908c1285d77957be917f0eb0a

commit r16-6697-g5ac3a14842e7bb3908c1285d77957be917f0eb0a
Author: GCC Administrator <[email protected]>
Date:   Mon Jan 12 00:16:27 2026 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 104 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/lto/ChangeLog       |  37 +++++++++++++++++
 gcc/testsuite/ChangeLog |  43 ++++++++++++++++++++
 libgcc/ChangeLog        |   4 ++
 libgfortran/ChangeLog   |   6 +++
 6 files changed, 195 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 07d1926f9fbe..9362660ef259 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,107 @@
+2026-01-11  Michal Jires  <[email protected]>
+
+       * asm-toplevel.cc (mark_fragile_ref_by_asm):
+       Add marked_local to handle symbol as local.
+       (ipa_asm_heuristics): New.
+       (class pass_ipa_asm): New.
+       (make_pass_ipa_asm_lgen): New.
+       (make_pass_ipa_asm_wpa): New.
+       * common.opt: New flto-toplevel-asm-heuristics.
+       * passes.def: New asm passes.
+       * timevar.def (TV_IPA_LTO_ASM): New.
+       * tree-pass.h (make_pass_ipa_asm_lgen): New.
+       (make_pass_ipa_asm_wpa): New.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * asm-toplevel.cc (mark_fragile_ref_by_asm): New.
+       (struct constraint_data): New.
+       (walk_through_constraints): Handle .local definitions.
+       (analyze_toplevel_extended_asm): Propagate constraint_data.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * cgraph.h: Add must_remain_in_tu_*.
+       * cgraphclones.cc (cgraph_node::create_clone): Propagate
+       must_remain_in_tu_body.
+       * cif-code.def (MUST_REMAIN_IN_TU): New.
+       * ipa-icf.cc (sem_function::equals_wpa): Check
+       must_remain_in_tu_*
+       (sem_variable::equals_wpa): Likewise.
+       * ipa-inline-transform.cc (inline_call): Propagate
+       must_remain_in_tu_body.
+       * ipa-inline.cc (can_inline_edge_p): Check
+       must_remain_in_tu_body.
+       * lto-cgraph.cc (lto_output_node): Output must_remain_in_tu_*
+       (lto_output_varpool_node): Likewise.
+       (input_overwrite_node): Input must_remain_in_tu_*.
+       (input_varpool_node): Likewise.
+       * tree.cc (decl_address_ip_invariant_p): Check
+       must_remain_in_tu_name.
+       * varpool.cc (varpool_node::ctor_useable_for_folding_p): Check
+       must_remain_in_tu_body.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * lto-cgraph.cc (compute_ltrans_boundary): Add symbols
+       referenced from asm_nodes.
+       * lto-streamer-out.cc (lto_output): Move adding asm_nodes
+       to...
+       * passes.cc (ipa_write_summaries): ...here.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * ipa-free-lang-data.cc (find_decls_types_in_asm): New.
+       (free_lang_data_in_cgraph): Use find_decls_types_in_asm.
+       * lto-cgraph.cc (input_cgraph_1): Move asm to..
+       (input_toplevel_asms): ..here.
+       * lto-streamer-in.cc (lto_input_toplevel_asms):
+       Allow extended asm.
+       * lto-streamer-out.cc (lto_output_toplevel_asms):
+       Allow extended asm.
+       (lto_output_toplevel_asms): Allow ASM_EXPR.
+       * lto-streamer.h (input_toplevel_asms): New.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       PR ipa/122458
+       * Makefile.in: Add new file.
+       * cgraph.h (analyze_toplevel_extended_asm): New.
+       * cgraphunit.cc (symbol_table::finalize_compilation_unit):
+       Call analyze_toplevel_extended_asm.
+       * asm-toplevel.cc: New file.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * cgraph.cc (cgraph_node_cannot_be_local_p_1): Check ref_by_asm.
+       (cgraph_node::verify_node): Likewise.
+       * cgraph.h (cgraph_node::only_called_directly_or_aliased_p):
+       Likewise.
+       (cgraph_node::can_remove_if_no_direct_calls_and_refs_p):
+       Likewise.
+       (varpool_node::can_remove_if_no_refs_p): Likewise.
+       (varpool_node::all_refs_explicit_p): Likewise.
+       * cgraphunit.cc (symtab_node::needed_p): Likewise.
+       (analyze_functions): Likewise.
+       * gimple-ssa-pta-constraints.cc (refered_from_nonlocal_fn):
+       Likewise.
+       (refered_from_nonlocal_var): Likewise.
+       (ipa_create_global_variable_infos): Likewise.
+       * ipa-comdats.cc (ipa_comdats): Likewise.
+       * ipa-visibility.cc (cgraph_externally_visible_p): Likewise.
+       (varpool_node::externally_visible_p): Likewise.
+       * ipa.cc (symbol_table::remove_unreachable_nodes): Likewise.
+       * lto-cgraph.cc (lto_output_node): Output ref_by_asm.
+       (lto_output_varpool_node): Likewise.
+       (input_overwrite_node): Input ref_by_asm.
+       (input_varpool_node): Likewise.
+       * symtab.cc (address_matters_1): Check ref_by_asm.
+
+2026-01-11  Hans-Peter Nilsson  <[email protected]>
+
+       * config/cris/cris.cc (cris_rtx_costs) <POST_INC>: Handle POST_INC
+       as ZERO_EXTEND and SIGN_EXTEND, i.e. as an operator without cost.
+
 2026-01-10  Jeff Law  <[email protected]>
 
        * config/mcore/mcore.h (ASM_OUT_ADDR_DIFF_ELT): Remove.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 980e143bd99d..13672a905c4a 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260111
+20260112
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 59c213f36833..0cafbd6f2d1c 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,40 @@
+2026-01-11  Michal Jires  <[email protected]>
+
+       * lto-symtab.cc (lto_symtab_merge_symbols): Set body_removed
+       for symbols resolved outside of IR.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * lto-partition.cc (join_partitions): Declare.
+       (lto_1_to_1_map): Split out to..
+       (map_1_to_1): ..here.
+       (create_asm_partition): Replaced by..
+       (create_asm_partitions): ..this.
+       (lto_max_map): Use new create_asm_partitions.
+       (lto_balanced_map): Use new create_asm_partitions.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * lto-symtab.cc (lto_cgraph_replace_node): Propagate
+       must_remain_in_tu_*.
+       (lto_varpool_replace_node): Likewise.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * lto-common.cc (read_cgraph_and_symbols): Call
+       input_toplevel_asms after decl merging.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       PR ipa/122458
+       * lto-common.cc (read_cgraph_and_symbols):
+       Call analyze_toplevel_extended_asm.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * lto-symtab.cc (lto_cgraph_replace_node): Propagate ref_by_asm.
+       (lto_varpool_replace_node): Propagate ref_by_asm.
+
 2025-12-23  Dhruv Chawla  <[email protected]>
 
        * Make-lang.in: Bump GCOV version to 3.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 43f3c600d43c..169436a29396 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,46 @@
+2026-01-11  Michal Jires  <[email protected]>
+
+       * gcc.dg/lto/attr-weakref-2_0.c: New test.
+       * gcc.dg/lto/attr-weakref-2_1.c: New test.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * gcc.dg/lto/toplevel-simple-asm-1_0.c: New test.
+       * gcc.dg/lto/toplevel-simple-asm-1_1.c: New test.
+       * gcc.dg/lto/toplevel-simple-asm-2_0.c: New test.
+       * gcc.dg/lto/toplevel-simple-asm-2_1.c: New test.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * gcc.dg/lto/toplevel-extended-asm-2_0.c: More partitionings.
+       * gcc.dg/lto/toplevel-extended-asm-2_1.c: Likewise.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * gcc.dg/lto/toplevel-extended-asm-2_0.c: New test.
+       * gcc.dg/lto/toplevel-extended-asm-2_1.c: New test.
+       * gcc.dg/lto/toplevel-extended-asm-3_0.c: New test.
+       * gcc.dg/lto/toplevel-extended-asm-3_1.c: New test.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * gcc.dg/lto/toplevel-extended-asm-1_0.c: New test.
+       * gcc.dg/lto/toplevel-extended-asm-1_1.c: New test.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       * g++.dg/lto/toplevel_asm-0_0.C: New test.
+
+2026-01-11  Michal Jires  <[email protected]>
+
+       PR ipa/122458
+       * gcc.dg/ipa/pr122458.c: New test.
+
+2026-01-11  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/123012
+       * gfortran.dg/namelist_100.f90: New test.
+
 2026-01-10  Stefan Schulze Frielinghaus  <[email protected]>
 
        * g++.target/s390/float16-1.C: New test.
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 56594c874b77..61b4cb634645 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2026-01-11  Jerome Guitton  <[email protected]>
+
+       * config/gthr-vxworks.h: Remove #include of tickLib.h.
+
 2026-01-10  Stefan Schulze Frielinghaus  <[email protected]>
 
        * config.host: Include s390/t-float16.
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index e755c7fa7976..16f2c348352e 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2026-01-11  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/123012
+       * io/list_read.c (read_character): Add new check when no
+       quate is provided and the character string is digits only.
+
 2026-01-09  Thomas Koenig  <[email protected]>
 
        * io/io.h: Change type of self to intptr_t.

Reply via email to