aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2025-09-27 00:18:25 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2025-09-27 00:18:25 +0000
commit4ab8a985b8063734ed364eb1e49de3303464aab7 (patch)
treeca296f373f5f21af5660b3a176e7bd7837fc7cee
parent33c35b7f4c1894cb197903310b7b7bff19205f35 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
Daily bump.HEADtrunkmaster
-rw-r--r--gcc/ChangeLog34
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/c/ChangeLog19
-rw-r--r--gcc/fortran/ChangeLog9
-rw-r--r--gcc/testsuite/ChangeLog24
-rw-r--r--libstdc++-v3/ChangeLog76
7 files changed, 167 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e0a7c64..97f1021 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 021949a..edfad19 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250926
+20250927
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 803b07d..bf15d94 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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.
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 4e78008..ef985ba 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -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,
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 68842d6..4427f6a 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 16403e2..0642410 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a3ee448..b27c82c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.