From a64938091bf13c53cf4dc69eb3c82f8f2f476300 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 12 Aug 2020 00:16:27 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 25 +++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 7 +++++ gcc/testsuite/ChangeLog | 68 ++++++++++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 184 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe76468bb28..545a44bb586 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,28 @@ +2020-08-11 Jakub Jelinek + + PR rtl-optimization/96539 + * expr.c (emit_block_move_hints): Don't copy anything if x and y + are the same and neither is MEM_VOLATILE_P. + +2020-08-11 Jakub Jelinek + + PR c/96549 + * tree.c (get_narrower): Use TREE_TYPE (ret) instead of + TREE_TYPE (win) for COMPOUND_EXPRs. + +2020-08-11 Jan Hubicka + + * predict.c (not_loop_guard_equal_edge_p): New function. + (maybe_predict_edge): New function. + (predict_paths_for_bb): Use it. + (predict_paths_leading_to_edge): Use it. + +2020-08-11 Martin Liska + + * dbgcnt.def (DEBUG_COUNTER): Add ipa_cp_bits. + * ipa-cp.c (ipcp_store_bits_results): Use it when we store known + bits for parameters. + 2020-08-10 Marek Polacek * doc/sourcebuild.texi: Document dg-ice. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 5a77e124a0f..b81f381520c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200811 +20200812 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 85e0c00d37a..1eaa99f31e6 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2020-08-11 Jakub Jelinek + + PR c/96545 + * c-common.c (get_atomic_generic_size): Require that first argument's + type points to a complete type and use tree_fits_uhwi_p instead of + just INTEGER_CST TREE_CODE check for the TYPE_SIZE_UNIT. + 2020-07-31 Martin Sebor PR c++/96003 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dc48e018250..8208f16e92a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,71 @@ +2020-08-11 David Edelsohn + + * g++.dg/opt/flifetime-dse2.C: Remove AIX xfail. + * g++.dg/opt/flifetime-dse4.C: Remove AIX xfail. + +2020-08-11 Tom de Vries + + * gcc.dg/Warray-bounds-46.c: Add missing require-effective-target + directive. + * gcc.dg/Warray-bounds-48.c: Same. + * gcc.dg/Warray-bounds-50.c: Same. + * gcc.dg/Wreturn-local-addr-2.c: Same. + * gcc.dg/Wreturn-local-addr-3.c: Same. + * gcc.dg/Wreturn-local-addr-4.c: Same. + * gcc.dg/Wreturn-local-addr-6.c: Same. + * gcc.dg/Wstack-usage.c: Same. + * gcc.dg/Wstringop-overflow-15.c: Same. + * gcc.dg/Wstringop-overflow-23.c: Same. + * gcc.dg/Wstringop-overflow-25.c: Same. + * gcc.dg/Wstringop-overflow-27.c: Same. + * gcc.dg/Wstringop-overflow-39.c: Same. + * gcc.dg/analyzer/alloca-leak.c: Same. + * gcc.dg/analyzer/data-model-1.c: Same. + * gcc.dg/analyzer/data-model-16.c: Same. + * gcc.dg/analyzer/malloc-1.c: Same. + * gcc.dg/analyzer/malloc-paths-8.c: Same. + * gcc.dg/analyzer/pr93546.c: Same. + * gcc.dg/analyzer/setjmp-1.c: Same. + * gcc.dg/analyzer/setjmp-2.c: Same. + * gcc.dg/analyzer/setjmp-3.c: Same. + * gcc.dg/analyzer/setjmp-4.c: Same. + * gcc.dg/analyzer/setjmp-5.c: Same. + * gcc.dg/analyzer/setjmp-6.c: Same. + * gcc.dg/analyzer/setjmp-7.c: Same. + * gcc.dg/analyzer/setjmp-7a.c: Same. + * gcc.dg/analyzer/setjmp-8.c: Same. + * gcc.dg/analyzer/setjmp-9.c: Same. + * gcc.dg/analyzer/setjmp-pr93378.c: Same. + * gcc.dg/gimplefe-44.c: Same. + * gcc.dg/pr84131.c: Same. + * gcc.dg/pr93986.c: Same. + * gcc.dg/pr95133.c: Same. + * gcc.dg/pr95857.c: Same. + * gcc.dg/strlenopt-83.c: Same. + * gcc.dg/strlenopt-84.c: Same. + * gcc.dg/strlenopt-91.c: Same. + * gcc.dg/uninit-32.c: Same. + * gcc.dg/uninit-36.c: Same. + +2020-08-11 Jakub Jelinek + + PR c/96545 + * c-c++-common/pr96545.c: New test. + +2020-08-11 Jakub Jelinek + + PR rtl-optimization/96539 + * gcc.target/i386/pr96539.c: New test. + +2020-08-11 Jakub Jelinek + + PR c/96549 + * gcc.c-torture/execute/pr96549.c: New test. + +2020-08-11 Jan Hubicka + + * gcc.dg/ipa/ipa-clone-2.c: Lower threshold from 500 to 400. + 2020-08-10 Marek Polacek PR c++/88003 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b71c39fef6e..b12eb175d4f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,86 @@ +2020-08-11 François Dumont + + PR libstdc++/91620 + * include/bits/forward_list.tcc (forward_list<>::remove): Collect nodes + to destroy in an intermediate forward_list. + (forward_list<>::remove_if, forward_list<>::unique): Likewise. + * include/bits/list.tcc (list<>::remove, list<>::unique): Likewise. + (list<>::remove_if): Likewise. + * include/debug/forward_list (forward_list<>::_M_erase_after): Remove. + (forward_list<>::erase_after): Adapt. + (forward_list<>::remove, forward_list<>::remove_if): Collect nodes to + destroy in an intermediate forward_list. + (forward_list<>::unique): Likewise. + * include/debug/list (list<>::remove, list<>::unique): Likewise. + (list<>::remove_if): Likewise. + * testsuite/23_containers/forward_list/operations/91620.cc: New test. + * testsuite/23_containers/list/operations/91620.cc: New test. + +2020-08-11 Jonathan Wakely + + * testsuite/30_threads/thread/cons/84535.cc: Use a custom + namespace. + * testsuite/30_threads/thread/cons/lwg2097.cc: Likewise. + +2020-08-11 Jonathan Wakely + + PR libstdc++/89760 + * include/experimental/executor [!_GLIBCXX_HAS_GTHREADS]: + (execution_context::mutex_type): Define dummy mutex type. + (system_context): Use execution_context::mutex_type. + (system_context) [!_GLIBCXX_HAS_GTHREADS]: Define dummy + thread and condition variable types. + [!_GLIBCXX_HAS_GTHREADS] (system_context::_M_run()): Do not + define. + (system_context::_M_post) [!_GLIBCXX_HAS_GTHREADS]: Throw + an exception when threads aren't available. + (strand::running_in_this_thread()): Defer to _M_state. + (strand::_State::running_in_this_thread()): New function. + (use_future_t): Do not depend on _GLIBCXX_USE_C99_STDINT_TR1. + * include/experimental/io_context (io_context): Use the + execution_context::mutex_type alias. Replace stack of thread + IDs with counter. + * testsuite/experimental/net/execution_context/use_service.cc: + Enable test for non-pthread targets. + +2020-08-11 Jonathan Wakely + + * include/experimental/executor (system_context::a__tag): Make + default constructor explicit. + +2020-08-11 Jonathan Wakely + + * include/experimental/executor (system_context::_M_run()): + Fix predicate. + * testsuite/experimental/net/system_context/1.cc: New test. + +2020-08-11 Jonathan Wakely + + * include/std/stop_token: Check _GLIBCXX_HAS_GTHREADS using + #ifdef instead of #if. + (stop_token::_S_yield()): Check _GLIBCXX_HAS_GTHREADS before + using __gthread_yield. + +2020-08-11 Jonathan Wakely + + * include/std/thread [!_GLIBCXX_HAS_GTHREADS] (this_thread::yield) + (this_thread::sleep_until): Define. + [!_GLIBCXX_HAS_GTHREADS] (this_thread::sleep_for): Define. Replace + use of __gthread_time_t typedef with timespec. + * src/c++11/thread.cc [!_GLIBCXX_HAS_GTHREADS] (__sleep_for): + Likewise. + * testsuite/30_threads/this_thread/2.cc: Moved to... + * testsuite/30_threads/this_thread/yield.cc: ...here. + * testsuite/30_threads/this_thread/3.cc: Moved to... + * testsuite/30_threads/this_thread/sleep_for-mt.cc: ...here. + * testsuite/30_threads/this_thread/4.cc: Moved to... + * testsuite/30_threads/this_thread/sleep_until-mt.cc: ...here. + * testsuite/30_threads/this_thread/58038.cc: Add + dg-require-sleep. + * testsuite/30_threads/this_thread/60421.cc: Likewise. + * testsuite/30_threads/this_thread/sleep_for.cc: New test. + * testsuite/30_threads/this_thread/sleep_until.cc: New test. + 2020-08-10 Jonathan Wakely PR libstdc++/94681 -- 2.11.4.GIT