From ff20f2b5996fd83b04e0a80ab87227536ce61d92 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 27 Sep 2024 00:18:47 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 61 +++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 6 +++ gcc/fortran/ChangeLog | 4 ++ gcc/rust/ChangeLog | 5 ++ gcc/testsuite/ChangeLog | 53 ++++++++++++++++++ libgcc/ChangeLog | 62 +++++++++++++++++++++ libgomp/ChangeLog | 5 ++ libstdc++-v3/ChangeLog | 116 ++++++++++++++++++++++++++++++++++++++++ 9 files changed, 313 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3d4250f9d42..567253fd177 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,64 @@ +2024-09-26 Richard Biener + + PR tree-optimization/114855 + * params.opt (--param transitive-relations-work-bound): New. + * doc/invoke.texi (--param transitive-relations-work-bound): + Document. + * value-relation.cc (dom_oracle::register_transitives): + Assing an overall work budget, bounding the dominator walk and + the number of relations processed. + (dom_oracle::record): Only register_transitives when the + number of already registered relations does not yet exceed + the per-BB limit. + +2024-09-26 Tobias Burnus + + * langhooks-def.h (lhd_omp_deep_mapping_p, + lhd_omp_deep_mapping_cnt, lhd_omp_deep_mapping): New. + (LANG_HOOKS_OMP_DEEP_MAPPING_P, LANG_HOOKS_OMP_DEEP_MAPPING_CNT, + LANG_HOOKS_OMP_DEEP_MAPPING): Define. + (LANG_HOOKS_DECLS): Use it. + * langhooks.cc (lhd_omp_deep_mapping_p, lhd_omp_deep_mapping_cnt, + lhd_omp_deep_mapping): New stubs. + * langhooks.h (struct lang_hooks_for_decls): Add new hooks + * omp-expand.cc (expand_omp_target): Handle dynamic-size + addr/sizes/kinds arrays. + * omp-low.cc (build_sender_ref, fixup_child_record_type, + scan_sharing_clauses, lower_omp_target): Update to handle + new hooks and dynamic-size addr/sizes/kinds arrays. + +2024-09-26 Jakub Jelinek + + * pretty-print.cc (allocate_object): Use obstack_blank rather than + obstack_grow. + +2024-09-26 Gerald Pfeifer + + PR target/69374 + * doc/install.texi (Specific) <*-*-mingw32>: Remove note regarding + binutils 2.16. + +2024-09-26 Kugan Vivekanandarajah + + * match.pd: Extend A CMP 0 ? A : -A into (type)A CMP 0 ? A : -A. + Extend A CMP 0 ? A : -A into (type) A CMP 0 ? A : -A. + +2024-09-26 Levy Hsu + + * config/i386/mmx.md: + (VQI_16_32_64): New mode iterator for 8-byte, 4-byte, and 2-byte QImode. + (popcount2): New pattern for popcount of V2QI/V4QI/V8QI mode. + (popcount2): New pattern for popcount of V2HI/V4HI mode. + (popcountv2si2): New pattern for popcount of V2SI mode. + +2024-09-26 liuhongt + + * config/i386/i386.h (VECTOR_STORE_FLAG_VALUE): New macro. + +2024-09-26 Pan Li + + * match.pd: Add optional nop_convert for signed SAT_ADD case 4. + 2024-09-25 Mikael Morin PR other/116801 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6444ce3348b..b84faf4bb87 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240926 +20240927 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a88ef1f4c9a..2e0dc337ee3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2024-09-26 Marek Polacek + + PR c++/116731 + * parser.cc (warn_for_range_copy): Check if TYPE is trivially + constructible, not copyable. + 2024-09-25 Marek Polacek * coroutines.cc (build_co_await): Use TARGET_EXPR accessors. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index ff4b2903d05..f09208f6541 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2024-09-26 Mikael Morin + + * invoke.texi (-M): Remove index reference to removed documentation. + 2024-09-25 Mikael Morin PR other/116801 diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index 180ea0ef5f4..f3371663400 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,8 @@ +2024-09-26 Owen Avery + + * checks/errors/borrowck/rust-bir.h + (class AbstractExpr): Add virtual destructor. + 2024-09-25 Mikael Morin PR other/116801 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e1a8e02aaa1..563be123415 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,56 @@ +2024-09-26 Marek Polacek + + PR c++/116731 + * g++.dg/warn/Wrange-loop-construct3.C: New test. + +2024-09-26 Sam James + + PR fortran/35779 + PR fortran/116858 + * gfortran.dg/initialization_25.f90: Mark as XFAIL. + +2024-09-26 Sam James + + * g++.dg/modules/reparent-1_c.C: Fix whitespace around '-' in dg directive. + * gfortran.dg/initialization_25.f90: Ditto. + +2024-09-26 Sam James + + * gfortran.dg/coarray/caf.exp: Fix 'dg-do-run' typo. + * lib/gfortran-dg.exp: Ditto. + * lib/gm2-dg.exp: Ditto. + * lib/go-dg.exp: Ditto. + +2024-09-26 Kugan Vivekanandarajah + + * g++.dg/absvect.C: New test. + * gcc.dg/tree-ssa/absfloat16.c: New test. + +2024-09-26 Levy Hsu + + * gcc.target/i386/part-vect-popcount-1.c: New test. + +2024-09-26 liuhongt + + * gcc.dg/rtl/x86_64/vector_eq.c: New test. + +2024-09-26 Nathaniel Shead + + PR c++/116846 + * g++.dg/modules/indirect-1_b.C: Fix testcase. + +2024-09-26 Pan Li + + * gcc.target/riscv/rvv/autovec/vec_sat_arith.h: Add test helper macros. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-10.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-11.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-12.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-9.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-10.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-11.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-12.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-9.c: New test. + 2024-09-25 Hans-Peter Nilsson PR testsuite/116701 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 3601a52a059..21723b6ba3f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,65 @@ +2024-09-26 Nathaniel Shead + + PR libstdc++/115126 + * gthr-posix.h (__GTHREAD_ALWAYS_INLINE): New macro. + (__GTHREAD_INLINE): New macro. + (__gthread_active): Convert from variable to (hidden) function. + (__gthread_active_p): Mark as __GTHREAD_INLINE instead of + static; make visibility("hidden") when it has a static local + variable. + (__gthread_trigger): Mark as __GTHREAD_INLINE instead of static. + (__gthread_create): Likewise. + (__gthread_join): Likewise. + (__gthread_detach): Likewise. + (__gthread_equal): Likewise. + (__gthread_self): Likewise. + (__gthread_yield): Likewise. + (__gthread_once): Likewise. + (__gthread_key_create): Likewise. + (__gthread_key_delete): Likewise. + (__gthread_getspecific): Likewise. + (__gthread_setspecific): Likewise. + (__gthread_mutex_init_function): Likewise. + (__gthread_mutex_destroy): Likewise. + (__gthread_mutex_lock): Likewise. + (__gthread_mutex_trylock): Likewise. + (__gthread_mutex_timedlock): Likewise. + (__gthread_mutex_unlock): Likewise. + (__gthread_recursive_mutex_init_function): Likewise. + (__gthread_recursive_mutex_lock): Likewise. + (__gthread_recursive_mutex_trylock): Likewise. + (__gthread_recursive_mutex_timedlock): Likewise. + (__gthread_recursive_mutex_unlock): Likewise. + (__gthread_recursive_mutex_destroy): Likewise. + (__gthread_cond_init_function): Likewise. + (__gthread_cond_broadcast): Likewise. + (__gthread_cond_signal): Likewise. + (__gthread_cond_wait): Likewise. + (__gthread_cond_timedwait): Likewise. + (__gthread_cond_wait_recursive): Likewise. + (__gthread_cond_destroy): Likewise. + (__gthread_rwlock_rdlock): Likewise. + (__gthread_rwlock_tryrdlock): Likewise. + (__gthread_rwlock_wrlock): Likewise. + (__gthread_rwlock_trywrlock): Likewise. + (__gthread_rwlock_unlock): Likewise. + * gthr-single.h: (__GTHREAD_ALWAYS_INLINE): New macro. + (__GTHREAD_INLINE): New macro. + (__gthread_active_p): Mark as __GTHREAD_INLINE instead of static. + (__gthread_once): Likewise. + (__gthread_key_create): Likewise. + (__gthread_key_delete): Likewise. + (__gthread_getspecific): Likewise. + (__gthread_setspecific): Likewise. + (__gthread_mutex_destroy): Likewise. + (__gthread_mutex_lock): Likewise. + (__gthread_mutex_trylock): Likewise. + (__gthread_mutex_unlock): Likewise. + (__gthread_recursive_mutex_lock): Likewise. + (__gthread_recursive_mutex_trylock): Likewise. + (__gthread_recursive_mutex_unlock): Likewise. + (__gthread_recursive_mutex_destroy): Likewise. + 2024-09-24 Iain Sandoe PR target/116809 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index bff51c8677d..81f29e80a5e 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2024-09-26 Tobias Burnus + + * libgomp.texi (omp_get_nested,omp_set_nested, OMP_NESTED): Fix + note about deprecation - correct is 5.0 not 5.2. + 2024-09-24 Jakub Jelinek PR c++/107637 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9d2df833b0a..e7c05cbded2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,119 @@ +2024-09-26 Jonathan Wakely + + * include/bits/cow_string.h (__resize_for_overwrite): Add + inline keyword to function with always_inline attribute. + +2024-09-26 Nathaniel Shead + + PR libstdc++/115126 + * include/bits/shared_ptr.h (std::__is_shared_ptr): Remove + unnecessary 'static'. + * include/bits/unique_ptr.h (std::__is_unique_ptr): Likewise. + * include/std/future (std::__create_task_state): Likewise. + * include/std/shared_mutex (_GLIBCXX_GTRHW): Likewise. + (__glibcxx_rwlock_init): Likewise. + (__glibcxx_rwlock_timedrdlock): Likewise. + (__glibcxx_rwlock_timedwrlock): Likewise. + (__glibcxx_rwlock_rdlock): Likewise. + (__glibcxx_rwlock_tryrdlock): Likewise. + (__glibcxx_rwlock_wrlock): Likewise. + (__glibcxx_rwlock_trywrlock): Likewise. + (__glibcxx_rwlock_unlock): Likewise. + (__glibcxx_rwlock_destroy): Likewise. + (__glibcxx_rwlock_init): Likewise. + * include/pstl/algorithm_impl.h + (__pstl::__internal::__set_algo_cut_off): Mark inline. + * include/pstl/unseq_backend_simd.h + (__pstl::__unseq_backend::__lane_size): Mark inline. + +2024-09-26 Jakub Jelinek + + PR libstdc++/116859 + * config/os/bsd/freebsd/os_defines.h + (_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC, + _GLIBCXX_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): Avoid + -Wexpansion-to-defined warnings. + * config/os/bsd/dragonfly/os_defines.h + (_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC): Likewise. + +2024-09-26 Jonathan Wakely + Andrew Waterman + + PR libstdc++/113578 + * include/std/ostream (_S_cast_flt): New static member function + to restore signbit after casting to double or long double. + (operator<<(float), operator<<(_Float16), operator<<(_Float32)) + (operator<<(_Float64), operator(_Float128)) + (operator<<(__bfloat16_t)): Use _S_cast_flt. + testsuite/27_io/basic_ostream/inserters_arithmetic/lwg4101.cc: + New test. + * testsuite/27_io/basic_ostream/inserters_arithmetic/lwg4101.cc: New file. + +2024-09-26 Jonathan Wakely + + * testsuite/27_io/basic_istringstream/cons/2020.cc: Fix comment + referring to basic_filebuf. + * testsuite/27_io/basic_istringstream/requirements/base_classes.cc: + Likewise. + * testsuite/27_io/basic_ostringstream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_ostringstream/requirements/base_classes.cc: + Likewise. + * testsuite/27_io/basic_stringbuf/cons/2020.cc: Likewise. + * testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc: + Likewise. + * testsuite/27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc: + Likewise. + * testsuite/27_io/basic_stringstream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_stringstream/requirements/base_classes.cc: + Likewise. + +2024-09-26 Jonathan Wakely + + * include/bits/basic_ios.h (basic_ios::operator bool()): + Add [[nodiscard]] attribute. + (basic_ios::operator!(), basic_ios::rdstate()) + (basic_ios::good(), basic_ios::eof(), basic_ios::fail()) + (basic_ios::bad(), basic_ios::exceptions(), basic_ios::tie()) + (basic_ios::rdbuf(), basic_ios::fill()): Likewise. + * include/bits/ios_base.h (ios_base::flags()): Likewise. + (ios_base::precision(), ios_base::width(), ios_base::getloc()): + Likewise. + * include/std/fstream (basic_filebuf::is_open) + (basic_ifstream::rdbuf(), basic_ifstream::is_open) + (basic_ofstream::rdbuf(), basic_ofstream::is_open) + (basic_fstream::rdbuf(), basic_fstream::is_open): Likewise. + * include/std/spanstream (basic_spanbuf::span()) + (basic_ispanstream::span(), basic_ispanstream::rdbuf()) + (basic_ospanstream::span(), basic_ospanstream::rdbuf()) + (basic_spanstream::span(), basic_spanstream::rdbuf()): + Likewise. + * include/std/sstream (basic_stringbuf::str()) + (basic_istringstream::rdbuf(), basic_istringstream::str()) + (basic_ostringstream::rdbuf(), basic_ostringstream::str()) + (basic_stringstream::rdbuf(), basic_stringstream::str()): + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: + Suppress -Wunused-result warnings. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc: + Likewise. + +2024-09-26 Iain Sandoe + + PR libstdc++/116853 + * include/bits/basic_string.h: Ignore suggest-attribute=format + warning when using posix vsnprintf in to_string() implementations. + +2024-09-26 Jonathan Wakely + + * include/std/stacktrace (basic_stacktrace::_Impl::_M_allocate): + Do not assume allocators only throw std::bad_alloc. + +2024-09-26 Jonathan Wakely + + PR libstdc++/116857 + * libsupc++/guard.cc (__cxa_guard_acquire): Remove + _GLIBCXX_NOTHROW to match declaration in . + 2024-09-25 Sam James PR libstdc++/101831