]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 27 Sep 2025 00:18:25 +0000 (00:18 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 27 Sep 2025 00:18:25 +0000 (00:18 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index e0a7c643264a9310d702c8216b8763be44f69671..97f102152d7a1c26823e7532faf55b6365ada597 100644 (file)
@@ -1,3 +1,37 @@
+2025-09-26  Alejandro Colomar  <alx@kernel.org>
+
+       * 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  <hubicka@ucw.cz>
+
+       * auto-profile.cc (afdo_propagate_edge): Fix handling of precize 0
+       counts.
+
+2025-09-26  Andrew Stubbs  <ams@baylibre.com>
+
+       * config/gcn/gcn.cc
+       (gcn_vectorize_support_vector_misalignment): Allow any alignment, as
+       long as it's not packed.
+
+2025-09-26  Jan Hubicka  <hubicka@ucw.cz>
+
+       * 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  <chenglulu@loongson.cn>
+
+       PR target/121875
+       * config/loongarch/loongarch.cc
+       (loongarch_can_inline_p): New function.
+       (TARGET_CAN_INLINE_P): Define.
+
 2025-09-25  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/invoke.texi (Warning Options): Use "bitwise" over
index 021949afc4f63aea2082d75f62092010c7b9de94..edfad19f91e8c6ab40355722ee8adafe4489951e 100644 (file)
@@ -1 +1 @@
-20250926
+20250927
index 803b07dce1c9740d5a5b92522487c001610f721a..bf15d94c1bd4ee964d31045059e017fee0049b4f 100644 (file)
@@ -1,3 +1,7 @@
+2025-09-26  Alejandro Colomar  <alx@kernel.org>
+
+       * c.opt: Add -Wmultiple-parameter-fwd-decl-lists
+
 2025-09-23  Alfie Richards  <alfie.richards@arm.com>
 
        * c-attribs.cc: Add support for target_version and target_clone mixing.
index 4e78008a2685a847a93f75230c2b2e34e903ac26..ef985ba3d61bc2365fc52547da703b17c40ed8dc 100644 (file)
@@ -1,3 +1,22 @@
+2025-09-26  Alejandro Colomar  <alx@kernel.org>
+
+       * 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  <josmyers@redhat.com>
+
+       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  <josmyers@redhat.com>
 
        * c-typeck.cc (really_atomic_lvalue): For a COMPOUND_LITERAL_EXPR,
index 68842d61811fe648d6a828caa1472979d180ada7..4427f6aedc217f27755a69e35b4243b8772e8c2f 100644 (file)
@@ -1,3 +1,12 @@
+2025-09-26  Harald Anlauf  <anlauf@gcc.gnu.org>
+
+       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  <anlauf@gmx.de>
 
        PR fortran/121939
index 16403e26a365e4f926f7f0ca96968df46d1b266e..0642410b89ccd1f575a64cf8375630119ff876e5 100644 (file)
@@ -1,3 +1,27 @@
+2025-09-26  Alejandro Colomar  <alx@kernel.org>
+
+       * gcc.dg/Wmultiple-parameter-fwd-decl-lists.c: New test.
+
+2025-09-26  Harald Anlauf  <anlauf@gmx.de>
+
+       * gfortran.dg/pdt_48.f03:
+
+2025-09-26  Joseph Myers  <josmyers@redhat.com>
+
+       PR c/88642
+       * gcc.dg/c2y-init-1.c: New test.
+
+2025-09-26  Lulu Cheng  <chenglulu@loongson.cn>
+
+       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  <anlauf@gmx.de>
 
        PR fortran/121939
index a3ee448c6af05e7c35ffab8f85168e876af1d2fc..b27c82c396f08318401bb8f511179b169d1eaaf4 100644 (file)
@@ -1,3 +1,79 @@
+2025-09-26  Jonathan Wakely  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       * 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  <jwakely@redhat.com>
+
+       * include/bits/predefined_ops.h (equal_to, less): Define aliases
+       for std::equal_to<void> and std::less<void>.
+       (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<void>, less<void>):
+       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  <jwakely@redhat.com>
+
+       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  <luc.grosheintz@gmail.com>
 
        * include/std/mdspan (__static_quotient): New overload.