From: GCC Administrator Date: Thu, 12 Dec 2024 00:19:00 +0000 (+0000) Subject: Daily bump. X-Git-Tag: basepoints/gcc-16~3426 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24822c09428441ad4db279880f7770cf8f0b9c47;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/ChangeLog b/ChangeLog index 9660c5260a74..31a3738a649f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-12-11 Matthieu Longo + + * MAINTAINERS: Add myself to write after approval. + 2024-12-02 Claudio Bantaloukas * MAINTAINERS: Add myself to write after approval. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e03dee99ffd..77ba8f876e9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,160 @@ +2024-12-11 Vladimir N. Makarov + + PR rtl-optimization/116778 + * ira-int.h (x_ira_class_hard_reg_index): Fix comment typo. + * lra-eliminations.cc (lra_fp_pseudo_p): New function. + * lra-int.h (lra_fp_pseudo_p): External declaration. + * lra-spills.cc (lra_need_for_spills_p): Fix formatting. + * lra.cc (lra): Use lra_fp_pseudo_p in lra_create_live_range after + lra_remat. + +2024-12-11 Filip Kastl + Andi Kleen + + PR middle-end/117091 + PR middle-end/117352 + * doc/invoke.texi: Add switch-lower-slow-alg-max-cases. + * params.opt: Add switch-lower-slow-alg-max-cases. + * tree-switch-conversion.cc (jump_table_cluster::find_jump_tables): + Note in a comment that we are looking for jump tables in + case sequences delimited by the already found bit tests. + (bit_test_cluster::find_bit_tests): Decide between + find_bit_tests_fast() and find_bit_tests_slow(). + (bit_test_cluster::find_bit_tests_fast): New function. + (bit_test_cluster::find_bit_tests_slow): New function. + (switch_decision_tree::analyze_switch_statement): Report + exceeding the limit. + * tree-switch-conversion.h: Add find_bit_tests_fast() and + find_bit_tests_slow(). + +2024-12-11 David Malcolm + + * diagnostic-highlight-colors.h: Tweak comment. + * pretty-print-markup.h (class pp_element_quoted_string): New, + based on pretty-print.cc's selftest::test_element, adding an + optional highlight color. + * pretty-print.cc (class test_element): Drop. + (selftest::test_pp_format): Use pp_element_quoted_string. + (selftest::test_urlification): Likewise. + +2024-12-11 David Malcolm + + PR other/116253 + * diagnostic-format-text.cc (build_prefix): Don't add the + "note: " prefix when showing nested diagnostics. + +2024-12-11 David Malcolm + + PR other/116253 + * diagnostic-format-text.cc (on_report_diagnostic): When showing + locations for nested messages on new lines, don't print + UNKNOWN_LOCATION or BUILTINS_LOCATION. + +2024-12-11 David Malcolm + + * input.cc (file_cache::initialize_input_context): Rename member + "in_context" to "m_input_context". + (file_cache::add_file): Likewise. + * input.h (class file_cache): Likewise. + +2024-12-11 Martin Jambor + + * ipa-cp.h: Forward declare class ipa_vr. + (ipa_vr_operation_and_type_effects) Declare. + * ipa-cp.cc (ipa_vr_operation_and_type_effects): Make public. + * ipa-prop.cc (update_jump_functions_after_inlining): Also update + value range jump functions. + +2024-12-11 Victor Do Nascimento + Tamar Christina + + PR target/96342 + * expr.cc (store_constructor): Enable poly_{u}int64 type usage. + (get_inner_reference): Ditto. + +2024-12-11 Victor Do Nascimento + Tamar Christina + + PR target/96342 + * expr.cc (store_constructor): add support for variable-length + vectors. + +2024-12-11 Victor Do Nascimento + + PR target/96342 + * tree-vect-stmts.cc (vectorizable_simd_clone_call): + s/vectype/masktype/ in call to vect_get_loop_mask. + +2024-12-11 Andre Vieira + Victor Do Nascimento + Tamar Christina + + PR target/96342 + * target.def (TARGET_SIMD_CLONE_USABLE): Add argument. + * tree-vect-stmts.cc (vectorizable_simd_clone_call): Pass stmt_info to + call TARGET_SIMD_CLONE_USABLE. + * config/aarch64/aarch64.cc (aarch64_simd_clone_usable): Add argument + and use it to reject the use of SVE simd clones with Advanced SIMD + modes. + * config/gcn/gcn.cc (gcn_simd_clone_usable): Add unused argument. + * config/i386/i386.cc (ix86_simd_clone_usable): Likewise. + * doc/tm.texi: Regenerate + +2024-12-11 Tamar Christina + + PR tree-optimization/114932 + * fold-const.cc (operand_compare::operand_equal_p): Use it. + (operand_compare::verify_hash_value): Likewise. + (operand_compare::hash_operand): Likewise. + (test_operand_equality::test): New. + (fold_const_cc_tests): Use it. + * tree-core.h (enum operand_equal_flag): Add OEP_ASSUME_WRAPV. + * tree-ssa-loop-ivopts.cc (record_group_use): Check for structural eq. + +2024-12-11 Tamar Christina + + PR tree-optimization/114932 + * fold-const.cc (operand_compare::operand_equal_p): Split into one that + takes explicit type parameters and use that in public one. + * fold-const.h (class operand_compare): Add operand_equal_p private + overload. + +2024-12-11 Soumya AR + Richard Sandiford + + * config/aarch64/aarch64.cc (aarch64_ptrue_reg): New overload. + * config/aarch64/aarch64-protos.h (aarch64_ptrue_reg): Likewise. + * config/aarch64/aarch64-sve.md: Extended sdiv_pow23 + and *sdiv_pow23 to support Neon modes. + +2024-12-11 Soumya AR + + * config/aarch64/aarch64-sve2.md + (*aarch64_sve2_nbsl_unpred): New pattern to match unpredicated + form. + (*aarch64_sve2_bsl1n_unpred): Likewise. + (*aarch64_sve2_bsl2n_unpred): Likewise. + +2024-12-11 liuhongt + + PR tree-optimization/117888 + * tree-ssa-loop-ivcanon.cc (try_unroll_loop_completely): Use + cunrolli instead of cunrolli && !loop->inner to check if it's + innermost loop. + (canonicalize_loop_induction_variables): Add new parameter + const_sbitmap innermost, and pass + cunrolli + && (unsigned) loop->num < SBITMAP_SIZE (innermost) + && bitmap_bit_p (innermost, loop->num) as "cunrolli" to + try_unroll_loop_completely + (canonicalize_induction_variables): Pass innermost to + canonicalize_loop_induction_variables. + (tree_unroll_loops_completely_1): Add new parameter + const_sbitmap innermost. + (tree_unroll_loops_completely): Move local variable cunrolli + to parameter to indicate it's from pass cunrolli, also track + all "original" innermost loop at the beginning. + 2024-12-10 David Malcolm PR other/117944 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 43fbb1840bff..3489d2d624c6 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241211 +20241212 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index e893c3e84ede..2b433a0905aa 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,24 @@ +2024-12-11 Samuel Thibault + + * Makefile.rtl: Add x86_64-pc-gnu section. + +2024-12-11 Samuel Thibault + + * libgnat/system-gnu.ads: New file. + * Makefile.rtl (x86-gnuhurd): Use libgnat/system-gnu.ads instead of + libgnat/system-freebsd.ads. + +2024-12-11 Samuel Thibault + + * libgnarl/a-intnam__freebsd.ads: Rename to... + * libgnarl/a-intnam__bsd.ads: ... new file. + * libgnarl/a-intnam__dragonfly.ads: Remove file. + * Makefile.rtl (x86-kfreebsd, x86-gnuhurd, x86_64-kfreebsd, + aarch64-freebsd, x86-freebsd, x86_64-freebsd): Use + libgnarl/a-intnam__bsd.ads instead of libgnarl/a-intnam__freebsd.ads. + (x86_64-dragonfly): Use libgnarl/a-intnam__bsd.ads instead of + libgnarl/a-intnam__dragonfly.ads. + 2024-11-26 Eric Botcazou * gcc-interface/trans.cc (Attribute_to_gnu) : Do not diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 74343fbc8b32..5daf630ffb6e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,26 @@ +2024-12-11 Jakub Jelinek + + PR c++/117614 + * constexpr.cc (cxx_eval_store_expression): For stores to + DECL_ANON_UNION_VAR_P vars just continue with DECL_VALUE_EXPR + of it, without setting evaluated to true or full + cxx_eval_constant_expression. + +2024-12-11 David Malcolm + + * decl.cc: Add #include "diagnostic-highlight-colors.h" + and #include "pretty-print-markup.h". + (complain_about_incompatible_declspecs): New. + (grokdeclarator): Use it when complaining about both 'signed' and + 'unsigned', and both 'long' and 'short'. + +2024-12-11 David Malcolm + + * call.cc (print_z_candidates): Count the number of + candidates and issue a note stating the count at an + intermediate nesting level. Number the individual + candidates. + 2024-12-10 Arsen Arsenović Iain Sandoe diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 13cce2a71c89..0c6fc42e5f6e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2024-12-11 Paul Thomas + + PR fortran/117901 + * trans-stmt.cc (trans_associate_var): A variable character + length array associate name must generate a DECL expression for + the data pointer type. + 2024-12-09 Harald Anlauf * expr.cc (find_array_section): Do not initialize GMP variables diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6cea931dd51b..5f385d835a5a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,76 @@ +2024-12-11 Paul Thomas + + PR fortran/117901 + * gfortran.dg/pr117901.f90: New test. + +2024-12-11 Jakub Jelinek + + PR c++/117614 + * g++.dg/cpp2a/constexpr-union8.C: New test. + +2024-12-11 David Malcolm + + * g++.dg/diagnostic/long-short-colorization.C: New test. + +2024-12-11 David Malcolm + + PR other/116253 + * g++.dg/concepts/nested-diagnostics-1-truncated.C: Update + expected output. + * g++.dg/concepts/nested-diagnostics-1.C: Likewise. + * g++.dg/concepts/nested-diagnostics-2.C: Likewise. + * gcc.dg/plugin/diagnostic-test-nesting-text-indented-show-levels.c: + Likewise. + * gcc.dg/plugin/diagnostic-test-nesting-text-indented-unicode.c: + Likewise. + * gcc.dg/plugin/diagnostic-test-nesting-text-indented.c: Likewise. + +2024-12-11 David Malcolm + + * g++.dg/concepts/diagnostic9.C: Update expected + results for candidate count and numbering. + * g++.dg/concepts/nested-diagnostics-1-truncated.C: + * g++.dg/concepts/nested-diagnostics-1.C: Likewise. + * g++.dg/concepts/nested-diagnostics-2.C: Likewise. + * g++.dg/cpp23/explicit-obj-lambda11.C: Likewise. + * g++.dg/cpp2a/desig4.C: Likewise. + * g++.dg/cpp2a/desig6.C: Likewise. + * g++.dg/cpp2a/spaceship-eq15.C: Likewise. + * g++.dg/diagnostic/function-color1.C: Likewise. + * g++.dg/diagnostic/param-type-mismatch-2.C: Likewise. + * g++.dg/diagnostic/pr100716-1.C: Likewise. + * g++.dg/diagnostic/pr100716.C: Likewise. + * g++.dg/lookup/operator-2.C: Likewise. + * g++.dg/lookup/pr80891-5.C: Likewise. + * g++.dg/modules/adhoc-1_b.C: Likewise. + * g++.dg/modules/err-1_c.C: Likewise. + * g++.dg/modules/err-1_d.C: Likewise. + * g++.dg/other/return2.C: Likewise. + * g++.dg/overload/error6.C: Likewise. + * g++.dg/template/local6.C: Likewise. + +2024-12-11 Tamar Christina + + PR tree-optimization/114932 + * gfortran.dg/addressing-modes_2.f90: New test. + +2024-12-11 Soumya AR + Richard Sandiford + + * gcc.target/aarch64/sve/sve-asrd.c: New test. + +2024-12-11 Soumya AR + + * gcc.target/aarch64/sve/bitsel.c: New test. + +2024-12-11 liuhongt + + * gcc.dg/pr117888-2.c: New test. + * gcc.dg/vect/pr117888-1.c: Ditto. + * gcc.dg/tree-ssa/pr83403-1.c: Add + --param max-completely-peeled-insns=300 for arm*-*-*. + * gcc.dg/tree-ssa/pr83403-2.c: Ditto. + 2024-12-10 Gaius Mulley PR modula2/117120 diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 83e9120c444d..0d27c1215eee 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,12 @@ +2024-12-11 Matthieu Longo + + * configure: Regenerate. + * configure.ac: Fix autoupdate warnings. + +2024-12-11 Sangamesh Mallayya + + * getopt.c: Remove _NO_PROTO block + 2024-11-19 Evgeny Karpov * simple-object-coff.c: Add aarch64. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ff54960712c7..52c130fbef4e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,47 @@ +2024-12-11 Jonathan Wakely + + PR libstdc++/109517 + PR libstdc++/109976 + * include/debug/helper_functions.h (__valid_range_aux): Treat + all input iterator ranges as valid during constant evaluation. + +2024-12-11 Jonathan Wakely + + PR libstdc++/106212 + * include/std/array (operator==): Use std::__equal_aux1 instead + of std::equal. + * testsuite/23_containers/array/comparison_operators/106212.cc: + New test. + +2024-12-11 Jonathan Wakely + + PR libstdc++/117966 + * include/std/span (span(T (&)[N])): Do not delegate to + constructor that performs redundant checks. + (span(array&), span(const array&)): Likewise. + (span(Range&&), span(const span&)): Likewise. + * testsuite/23_containers/span/117966.cc: New test. + +2024-12-11 Jonathan Wakely + + * include/std/generator (_Promise_alloc): Rename template + parameter. Use __alloc_rebind to rebind allocator. + (_Promise_alloc::operator new): Replace constraints with a + static_assert in the body. Rename allocator parameter. + (_Promise_alloc::_M_allocate): Rename allocator parameter. + Use __alloc_rebind to rebind allocator. + (_Promise_alloc::operator new): Rename allocator + parameter. + * testsuite/24_iterators/range_generators/alloc.cc: New test. + * testsuite/24_iterators/range_generators/lwg3900.cc: New test. + +2024-12-11 Jonathan Wakely + + * include/std/ostream (println): Pass stream's locale to + std::format, as per LWG 4088. + * testsuite/27_io/basic_ostream/print/1.cc: Check std::println + with custom locale. Remove unused brit_punc class. + 2024-12-10 Jonathan Wakely * include/bits/memory_resource.h (polymoprhic_allocator): Use