https://gcc.gnu.org/g:381af4e29be2186a29d74eb0c4d8b9784ec70337
commit r16-7939-g381af4e29be2186a29d74eb0c4d8b9784ec70337 Author: GCC Administrator <[email protected]> Date: Sat Mar 7 00:16:29 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 20 +++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 6 ++ gcc/c-family/ChangeLog | 6 ++ gcc/c/ChangeLog | 6 ++ gcc/cp/ChangeLog | 6 ++ gcc/po/ChangeLog | 4 ++ gcc/testsuite/ChangeLog | 143 ++++++++++++++++++++++++++++++++++++++++++++++++ libgcc/ChangeLog | 9 +++ libgfortran/ChangeLog | 6 ++ libstdc++-v3/ChangeLog | 25 +++++++++ 11 files changed, 232 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1234f7230a23..95d393ba9ca4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,23 @@ +2026-03-06 Andrew Pinski <[email protected]> + + PR target/124126 + * config/aarch64/aarch64-builtins.cc (aarch64_init_ls64_builtins_types): Copy + the array type before setting the mode. + +2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124135 + * tree-inline.cc (expand_call_inline): If both gimple_call_lhs (stmt) + and use_retvar aren't gimple regs but have gimple reg type, use + separate load of use_retva into SSA_NAME and then store of it + into gimple_call_lhs (stmt). + +2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124358 + * match.pd ((ptr) (x p+ y) p+ z -> (ptr) (x p+ (y + z))): Simplify + into (ptr) x p+ (y + z) instead. + 2026-03-05 Victor Do Nascimento <[email protected]> PR tree-optimization/124037 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 05b94d65f55a..dc2c539ec561 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260306 +20260307 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 9b43cedc669e..f1f950e5c588 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,9 @@ +2026-03-06 David Malcolm <[email protected]> + + PR testsuite/112520 + * region-model-manager.cc + (region_model_manager::get_field_region): Assert that the args are non-null. + 2026-02-26 David Malcolm <[email protected]> PR analyzer/124232 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 6263dd30b7b4..ec0c69cbd766 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2026-03-06 Qing Zhao <[email protected]> + + PR c/124230 + * c-ubsan.cc (get_index_from_offset): Handle the special case when + the offset is an integer constant. + 2026-02-12 Andrew Pinski <[email protected]> PR c/105555 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 6140b14316d7..b3e056ef621a 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2026-03-06 Andrew Pinski <[email protected]> + + PR c/97991 + * c-parser.cc (c_parser_consume_token): Allow + CPP_PRAGMA if inside a pragma. + 2026-03-03 Martin Uecker <[email protected]> PR c/122572 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f014756ac363..d74414798c67 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2026-03-06 Patrick Palka <[email protected]> + + PR c++/124297 + * mangle.cc (write_template_param_decl) <case PARM_DECL>: + Strip fold-expression before calling write_type_constraint. + 2026-03-05 Jakub Jelinek <[email protected]> PR c++/124145 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 75a489656703..f83deea8e280 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2026-03-06 Joseph Myers <[email protected]> + + * fr.po: Update. + 2026-03-02 Joseph Myers <[email protected]> * sv.po: Update. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f48ca6c0db4b..b77461908046 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,146 @@ +2026-03-06 David Malcolm <[email protected]> + + PR analyzer/107646 + PR testsuite/112520 + * gcc.dg/plugin/analyzer_cpython_plugin.cc: Move everything from + namespace ana:: into ana::cpython_plugin. Move global tree values + into a new "class api". + (pyobj_record): Replace with api.m_type_PyObject. + (pyobj_ptr_tree): Replace with api.m_type_PyObject_ptr. + (pyobj_ptr_ptr): Replace with api.m_type_PyObject_ptr_ptr. + (varobj_record): Replace with api.m_type_PyVarObject. + (pylistobj_record): Replace with api.m_type_PyListObject. + (pylongobj_record): Replace with api.m_type_PyLongObject. + (pylongtype_vardecl): Replace with api.m_vardecl_PyLong_Type. + (pylisttype_vardecl): Replace with api.m_vardecl_PyList_Type. + (get_field_by_name): Add "complain" param and use it to issue a + note on failure. Assert that type and name are non-null. Don't + crash on fields that are anonymous unions, and special-case + looking within them for "ob_refcnt" to work around the + Python 3.11 change for PEP 683 (immortal objects). + (get_sizeof_pyobjptr): Convert to... + (api::get_sval_sizeof_PyObject_ptr): ...this + (init_ob_refcnt_field): Convert to... + (api::init_ob_refcnt_field): ...this. + (set_ob_type_field): Convert to... + (api::set_ob_type_field): ..this. + (api::init_PyObject_HEAD): New. + (api::get_region_PyObject_ob_refcnt): New. + (api::do_Py_INCREF): New. + (api::get_region_PyVarObject_ob_size): New. + (api::get_region_PyLongObject_ob_digit): New. + (inc_field_val): Convert to... + (api::inc_field_val): ...this. + (refcnt_mismatch::refcnt_mismatch): Add tree params for refcounts + and initialize corresponding fields. Fix whitespace. + (refcnt_mismatch::emit): Use stored tree values, rather than + assuming we have constants, and crashing non-constants. Delete + commented-out dead code. + (refcnt_mismatch::foo): Delete. + (refcnt_mismatch::m_expected_refcnt_tree): New field. + (refcnt_mismatch::m_actual_refcnt_tree): New field. + (retrieve_ob_refcnt_sval): Simplify using class api. + (count_pyobj_references): Likewise. + (check_refcnt): Likewise. Don't warn on UNKNOWN values. Use + get_representative_tree for the expected and actual values and + skip the warning if it fails, rather than assuming we have + constants and crashing on non-constants. + (count_all_references): Update comment. + (kf_PyList_Append::impl_call_pre): Simplify using class api. + (kf_PyList_Append::impl_call_post): Likewise. + (kf_PyList_New::impl_call_post): Likewise. + (kf_PyLong_FromLong::impl_call_post): Likewise. + (get_stashed_type_by_name): Emit note if the type couldn't be + found. + (get_stashed_global_var_by_name): Likewise for globals. + (init_py_structs): Convert to... + (api::init_from_stashed_types): ...this. Bail out with an error + code if anything fails. Look up more things at startup, rather + than during analysis of calls. + (ana::cpython_analyzer_events_subscriber): Rename to... + (ana::cpython_plugin::analyzer_events_subscriber): ...this. + (analyzer_events_subscriber::analyzer_events_subscriber): + Initialize m_init_failed. + (analyzer_events_subscriber::on_message<on_tu_finished>): + Update for conversion of init_py_structs to + api::init_from_stashed_types and bail if it fails. + (analyzer_events_subscriber::on_message<on_frame_popped): Don't + run if plugin initialization failed. + (analyzer_events_subscriber::m_init_failed): New field. + +2026-03-06 Patrick Palka <[email protected]> + + PR c++/124297 + * g++.dg/cpp2a/concepts-variadic4.C: New test. + +2026-03-06 Andrew Pinski <[email protected]> + + PR target/124126 + * g++.target/aarch64/pr124126-1.C: New test. + +2026-03-06 Qing Zhao <[email protected]> + + PR c/124230 + * gcc.dg/ubsan/pointer-counted-by-bounds-124230-char.c: New test. + * gcc.dg/ubsan/pointer-counted-by-bounds-124230-float.c: New test. + * gcc.dg/ubsan/pointer-counted-by-bounds-124230-struct.c: New test. + * gcc.dg/ubsan/pointer-counted-by-bounds-124230-union.c: New test. + * gcc.dg/ubsan/pointer-counted-by-bounds-124230.c: New test. + +2026-03-06 Andrew Pinski <[email protected]> + + PR c/97991 + * c-c++-common/cpp/pr97991-1.c: New test. + +2026-03-06 Saurabh Jha <[email protected]> + Evgeny Karpov <[email protected]> + + * gcc.target/aarch64/mingw/mingw.exp: Add support for C++ files. + * gcc.target/aarch64/mingw/minimal_new_del.C: New test. + +2026-03-06 Jakub Jelinek <[email protected]> + + PR target/122000 + * gcc.c-torture/execute/pr122000.c: New test. + +2026-03-06 Richard Earnshaw <[email protected]> + + * lib/target-supports.exp: Add arm_arch_v7a_thumb. + * gcc.target/arm/ifcvt-size-check.c: Add options to force thumb1. + * gcc.target/arm/ivopts-2.c: Remove object size check. + * gcc.target/arm/ivopts-3.c: Likewise. + * gcc.target/arm/ivopts-4.c: Likewise. + * gcc.target/arm/ivopts-5.c: Likewise. + * gcc.target/arm/ivopts.c: Likewise. + * gcc.target/arm/max-insns-skipped.c: Scan for absence of an IT + instruction. Remove object size check. Use arm_arch_v7a_thumb. + * gcc.target/arm/pr43597.c: Remove object size check and use + arm_arch_v7a_thumb. + * gcc.target/arm/pr63210.c: Use arm_arch_v5t_thumb options. + * gcc.target/arm/split-live-ranges-for-shrink-wrap.c: Remove + object size check and use arm_arch_v5t_thumb options. + +2026-03-06 Richard Earnshaw <[email protected]> + + * gcc.target/arm/aes-fuse-1.c: Add _ok to the effective_target. + * gcc.target/arm/aes-fuse-2.c: Likewise. + +2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124135 + * g++.dg/torture/pr124135-1.C: New test. + * g++.dg/torture/pr124135-2.C: New test. + +2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124358 + * gcc.c-torture/execute/pr124358.c: New test. + +2026-03-06 Andrew Pinski <[email protected]> + + PR rtl-optimization/124078 + * gcc.target/aarch64/pr124078-1.c: New test. + 2026-03-05 Jakub Jelinek <[email protected]> PR c++/124145 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 551aba55803e..1f4c90b5460d 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,12 @@ +2026-03-06 Saurabh Jha <[email protected]> + Evgeny Karpov <[email protected]> + + * config.host: Set tmake_eh_file for aarch64-*-mingw* and update + it for x86_64-*-mingw* and x86_64-*-cygwin*. + * config/i386/t-seh-eh: Move to... + * config/mingw/t-seh-eh: ...here. + * config/aarch64/t-no-eh: Removed. + 2026-03-05 Alice Carlotti <[email protected]> PR target/124333 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 669042bc637a..6e4f47e4fa26 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2026-03-06 Andre Vehreschild <[email protected]> + + PR libfortran/124371 + * caf/shmem/supervisor.c (startWorker): Use defined(HAVE_FORK) + instead of !defined(WIN32) for preprocessor conditional. + 2026-03-04 Jakub Jelinek <[email protected]> PR libfortran/124330 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4960339ae3c4..b1f6c26d7269 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,28 @@ +2026-03-06 Nathan Myers <[email protected]> + + * include/std/bitset (operator[]() const): Customize bounds + check for C++11 case. + * testsuite/20_util/bitset/access/subscript_const_neg.cc: + Suppress UNRESOLVED complaint. + +2026-03-06 Tomasz KamiĆski <[email protected]> + + * include/bits/fs_path.h (std::formatter<filesystem::path, _CharT>): + Format _Utf_view directly via __formatter_str::_M_format_range. + +2026-03-06 Jonathan Wakely <[email protected]> + + PR libstdc++/122300 + * src/c++17/fs_path.cc (path::_List::_Impl): Remove + static_asserts. + (path::_List::_Impl::required_alignment) + (path::_List::_Impl::use_aligned_new): New static data members. + (path::_List::_Impl::create_unchecked): Check use_aligned_new + and use aligned new if needed. + (path::_List::_Impl::alloc_size): New static member function. + (path::_List::_Impl_deleter::operator): Check use_aligned_new + and use aligned delete if needed. + 2026-03-05 Nathan Myers <[email protected]> PR libstdc++/118341
