From: GCC Administrator Date: Sat, 27 Sep 2025 00:18:25 +0000 (+0000) Subject: Daily bump. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ab8a985b8063734ed364eb1e49de3303464aab7;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e0a7c643264..97f102152d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,37 @@ +2025-09-26 Alejandro Colomar + + * doc/extend.texi: Clarify documentation about lists of + parameter forward declarations, and mention that more than one + of them are unnecessary. + * doc/invoke.texi: Document the new + -Wmultiple-parameter-fwd-decl-lists. + +2025-09-26 Jan Hubicka + + * auto-profile.cc (afdo_propagate_edge): Fix handling of precize 0 + counts. + +2025-09-26 Andrew Stubbs + + * config/gcn/gcn.cc + (gcn_vectorize_support_vector_misalignment): Allow any alignment, as + long as it's not packed. + +2025-09-26 Jan Hubicka + + * profile-count.h (profile_probability::operator/): Do not cap + twice. + (profile_probability::operator/=): Likewise. + (profile_probability::apply_scale): Do not watch for overflow. + (profile_count::probability_in): Watch overflow. + +2025-09-26 Lulu Cheng + + PR target/121875 + * config/loongarch/loongarch.cc + (loongarch_can_inline_p): New function. + (TARGET_CAN_INLINE_P): Define. + 2025-09-25 Gerald Pfeifer * doc/invoke.texi (Warning Options): Use "bitwise" over diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 021949afc4f..edfad19f91e 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250926 +20250927 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 803b07dce1c..bf15d94c1bd 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2025-09-26 Alejandro Colomar + + * c.opt: Add -Wmultiple-parameter-fwd-decl-lists + 2025-09-23 Alfie Richards * c-attribs.cc: Add support for target_version and target_clone mixing. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 4e78008a268..ef985ba3d61 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,22 @@ +2025-09-26 Alejandro Colomar + + * c-decl.cc (c_scope): Rename {warned > had}_forward_parm_decls. + (mark_forward_parm_decls): Add + -Wmultiple-parameter-fwd-decl-lists. + +2025-09-26 Joseph Myers + + PR c/88642 + * c-typeck.cc (constructor_braced_scalar): New variable. + (struct constructor_stack): Add braced_scalar field. + (really_start_incremental_init): Handle constructor_braced_scalar + and braced_scalar field. + (push_init_level): Handle constructor_braced_scalar and + braced_scalar field. Give permerror rather than warning for + nested braces around scalar initializer. + (pop_init_level): Handle constructor_braced_scalar and + braced_scalar field. + 2025-09-24 Joseph Myers * c-typeck.cc (really_atomic_lvalue): For a COMPOUND_LITERAL_EXPR, diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 68842d61811..4427f6aedc2 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,12 @@ +2025-09-26 Harald Anlauf + + PR fortran/122002 + * decl.cc (gfc_get_pdt_instance): Initialize 'instance' to NULL + and set 'kind_value' to zero before calling gfc_extract_int. + * primary.cc (gfc_match_rvalue): Intitialize 'ctr_arglist' to + NULL and test for default values if gfc_get_pdt_instance + returns NULL. + 2025-09-25 Harald Anlauf PR fortran/121939 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 16403e26a36..0642410b89c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,27 @@ +2025-09-26 Alejandro Colomar + + * gcc.dg/Wmultiple-parameter-fwd-decl-lists.c: New test. + +2025-09-26 Harald Anlauf + + * gfortran.dg/pdt_48.f03: + +2025-09-26 Joseph Myers + + PR c/88642 + * gcc.dg/c2y-init-1.c: New test. + +2025-09-26 Lulu Cheng + + PR target/121875 + * gcc.target/loongarch/can_inline_1.c: New test. + * gcc.target/loongarch/can_inline_2.c: New test. + * gcc.target/loongarch/can_inline_3.c: New test. + * gcc.target/loongarch/can_inline_4.c: New test. + * gcc.target/loongarch/can_inline_5.c: New test. + * gcc.target/loongarch/can_inline_6.c: New test. + * gcc.target/loongarch/pr121875.c: New test. + 2025-09-25 Harald Anlauf PR fortran/121939 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a3ee448c6af..b27c82c396f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,79 @@ +2025-09-26 Jonathan Wakely + + * include/bits/stl_algobase.h (__search, __is_permutation): + Reuse predicate instead of creating a new one each time. + * include/bits/stl_algo.h (__is_permutation): Likewise. + +2025-09-26 Jonathan Wakely + + * include/std/deque (erase_if): Move predicate instead of + wrapping with std::ref. + (erase): Forward to erase_if. + * include/std/inplace_vector (erase_if, erase): Likewise. + * include/std/string (erase_if, erase): Likewise. + * include/std/vector (erase_if, erase): Likewise. + +2025-09-26 Jonathan Wakely + + * include/bits/predefined_ops.h (equal_to, less): Define aliases + for std::equal_to and std::less. + (bind1st, bind2nd, not1, __equal_to): New object generator + functions for adapting predicates. + (__iter_less_iter, __iter_less_val, __iter_comp_val) + (__val_less_iter, __val_comp_iter, __iter_equal_to_iter) + (__iter_equal_to_val, __iter_comp_iter, __negate): Remove all + object generator functions and the class templates they return. + * include/bits/stl_algo.h (__move_median_to_first, __find_if_not) + (__find_if_not_n, __search_n_aux, find_end, find_if_not) + (__remove_copy_if, remove_copy, remove_copy_if, remove) + (remove_if, __adjacent_find, __unique, unique, __unique_copy) + (__unique_copy_1, __stable_partition_adaptive, stable_partition) + (__heap_select, __partial_sort_copy, partial_sort_copy) + (__unguarded_linear_insert, __insertion_sort) + (__unguarded_insertion_sort, __unguarded_partition) + (lower_bound, __upper_bound, upper_bound, __equal_range) + (equal_range, binary_search, __move_merge_adaptive) + (__move_merge_adaptive_backward, __merge_adaptive_resize) + (__merge_without_buffer, inplace_merge, __move_merge) + (__includes, includes, __next_permutation, next_permutation) + (__prev_permutation, prev_permutation, __replace_copy_if) + (replace_copy, replace_copy_if, __is_sorted_until) + (is_sorted_until, __minmax_element, minmax_element, minmax) + (is_permutation, __is_permutation, find, find_if, adjacent_find) + (count, count_if, search, search_n, unique_copy, partial_sort) + (nth_element, sort, __merge, merge, stable_sort, __set_union) + (set_union, __set_intersection, set_intersection) + (__set_difference, set_difference, __set_symmetric_difference) + (set_symmetric_difference, __min_element, min_element) + (__max_element, max_element, min, max): Use direct predicates + instead of __iter_equal_to_iter, __iter_comp_iter, and + __iter_less_iter, __negate etc. Dereference iterators when + invoking predicates. + * include/bits/stl_algobase.h (__lexicographical_compare_impl) + (__lexicographical_compare::__lc, __lower_bound, lower_bound) + (lexicographical_compare, __mismatch, mismatch, __find_if) + (__count_if, __remove_if, __search, __is_permutation) + (is_permutation, search): Likewise. + * include/bits/stl_function.h (equal_to, less): + Define transparent comparison functions for C++98 and C++11. + * include/bits/stl_heap.h (__is_heap_until, __is_heap) + (__push_heap, push_heap, __adjust_heap, pop_heap, make_heap) + (sort_heap, is_heap_until, is_heap): Likewise. + * include/std/deque (erase_if): Remove call to __pred_iter. + (erase): Replace __iter_equals_val with __equal_to. + * include/std/inplace_vector (erase_if, erase): Likewise. + * include/std/string (erase_if, erase): Likewise. + * include/std/vector (erase_if, erase): Likewise. + +2025-09-26 Jonathan Wakely + + PR libstdc++/122062 + * include/bits/random.tcc (__detail::__normalize): Use void cast + for operands of comma operator. + (piecewise_linear_distribution): Likewise. + * testsuite/26_numerics/random/piecewise_linear_distribution/cons/122062.cc: + New test. + 2025-09-25 Luc Grosheintz * include/std/mdspan (__static_quotient): New overload.