From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id D3C0B3858407; Thu, 19 Aug 2021 00:17:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3C0B3858407 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-3010] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: f0fca213bc52644ba896da622b35842a6157bd98 X-Git-Newrev: 6e529985d8956f74492e3176026fc02dc8f01b6c Message-Id: <20210819001722.D3C0B3858407@sourceware.org> Date: Thu, 19 Aug 2021 00:17:22 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 00:17:22 -0000 https://gcc.gnu.org/g:6e529985d8956f74492e3176026fc02dc8f01b6c commit r12-3010-g6e529985d8956f74492e3176026fc02dc8f01b6c Author: GCC Administrator Date: Thu Aug 19 00:16:42 2021 +0000 Daily bump. Diff: --- ChangeLog | 6 ++++ config/ChangeLog | 5 ++++ contrib/ChangeLog | 6 ++++ gcc/ChangeLog | 51 ++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 5 ++++ gcc/analyzer/ChangeLog | 51 ++++++++++++++++++++++++++++++++++ gcc/c-family/ChangeLog | 6 ++++ gcc/c/ChangeLog | 29 +++++++++++++++++++ gcc/cp/ChangeLog | 39 ++++++++++++++++++++++++++ gcc/fortran/ChangeLog | 6 ++++ gcc/jit/ChangeLog | 5 ++++ gcc/objc/ChangeLog | 10 +++++++ gcc/testsuite/ChangeLog | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 20 +++++++++++++ libiberty/ChangeLog | 5 ++++ libstdc++-v3/ChangeLog | 62 +++++++++++++++++++++++++++++++++++++++++ 17 files changed, 381 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bd56aa25dc0..4fe1423ee7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-08-18 Iain Sandoe + + * Makefile.in: Regenerate. + * Makefile.tpl: Make the state of the configured host + shared flag available to makefile fragements. + 2021-08-09 Hongyu Wang * MAINTAINERS (Write After Approval): Add myself. diff --git a/config/ChangeLog b/config/ChangeLog index 19fb8d12752..6c3add89176 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2021-08-18 Iain Sandoe + + * mh-darwin: Require a non-shared host configuration to + enable mdynamic-no-pic where that is supported. + 2021-07-09 Iain Sandoe * mh-darwin: Make this specific to handling the diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 4bcb310d886..d4aa96f1670 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,9 @@ +2021-08-18 Martin Liska + + * gcc-git-customization.sh: Wrap $@ in quotes. + * git-commit-mklog.py: Add new argument --co. + * mklog.py: Skip the Co-Authored-By lines. + 2021-08-10 Martin Liska * mklog.py: Support additional PRs without PR prefix. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b26f25637ed..4fd8ff76520 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,54 @@ +2021-08-18 Iain Sandoe + + * config.gcc: Include rpath.opt for Darwin. + * config/darwin.h (DRIVER_SELF_SPECS): Handle -rpath. + +2021-08-18 Thomas Schwinge + + PR bootstrap/101959 + * hash-map-tests.c (test_map_of_type_with_ctor_and_dtor_expand): + Use an 'int_hash'. + +2021-08-18 Jonathan Wright + + * config/aarch64/arm_neon.h (vld3_lane_f64): Use float RTL + pattern and type cast. + (vld4_lane_f32): Use float RTL pattern. + (vld4q_lane_f64): Use float type cast. + +2021-08-18 Jan Hubicka + + * tree-ssa-uninit.c (maybe_warn_pass_by_reference): Check also + EAF_NOREAD. + +2021-08-18 Thomas Schwinge + + * hash-map-tests.c (test_map_of_type_with_ctor_and_dtor): Extend. + (test_map_of_type_with_ctor_and_dtor_expand): Add function. + (hash_map_tests_c_tests): Call it. + +2021-08-18 Thomas Schwinge + + * ggc.h (enum ggc_collect): New. + (ggc_collect): Use it. + * ggc-page.c: Adjust. + * ggc-common.c: Likewise. + * ggc-tests.c: Likewise. + * read-rtl-function.c: Likewise. + * selftest-run-tests.c: Likewise. + * doc/gty.texi (Invoking the garbage collector): Likewise. + +2021-08-18 liuhongt + + PR target/97147 + * config/i386/i386.h (TARGET_V2DF_REDUCTION_PREFER_HADDPD): + New macro. + * config/i386/sse.md (*sse3_haddv2df3_low): Add + TARGET_V2DF_REDUCTION_PREFER_HADDPD. + (*sse3_hsubv2df3_low): Ditto. + * config/i386/x86-tune.def + (X86_TUNE_V2DF_REDUCTION_PREFER_HADDPD): New tune. + 2021-08-17 Andrew MacLeod * gimple-range-gori.cc (gori_compute::gori_compute): Enable tracing. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 70b09db5ed7..30a51b98f77 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210818 +20210819 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 8e19ca47a03..63a04b1c51f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2021-08-18 Eric Botcazou + + * gcc-interface/decl.c (gnat_to_gnu_entity) : Fix + thinko in latest change. + 2021-08-11 Bernd Edlinger PR debug/101598 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 43e3c634711..0b483ccf9ea 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,54 @@ +2021-08-18 Ankur Saini + + PR analyzer/97114 + * region-model.cc (region_model::get_rvalue_1): Add case for + OBJ_TYPE_REF. + +2021-08-18 Ankur Saini + + PR analyzer/100546 + * analysis-plan.cc (analysis_plan::use_summary_p): Don't use call + summaries if there is no callgraph edge + * checker-path.cc (call_event::call_event): Handle calls events that + are not represented by a supergraph call edge + (return_event::return_event): Likewise. + (call_event::get_desc): Work with new call_event structure. + (return_event::get_desc): Likeise. + * checker-path.h (call_event::m_src_snode): New field. + (call_event::m_dest_snode): New field. + (return_event::m_src_snode): New field. + (return_event::m_dest_snode): New field. + * diagnostic-manager.cc + (diagnostic_manager::prune_for_sm_diagnostic): + Refactor to work with edges without callgraph edge. + (diagnostic_manager::prune_for_sm_diagnostic): + Likewise. + * engine.cc (dynamic_call_info_t::update_model): New function. + (dynamic_call_info_t::add_events_to_path): New function. + (exploded_graph::create_dynamic_call): New function. + (exploded_graph::process_node): Work with dynamically discovered calls. + * exploded-graph.h (class dynamic_call_info_t): New class. + (exploded_graph::create_dynamic_call): New decl. + * program-point.cc (program_point::push_to_call_stack): New function. + (program_point::pop_from_call_stack): New function. + * program-point.h (program_point::push_to_call_stack): New decl. + (program_point::pop_from_call_stack): New decl. + * program-state.cc (program_state::push_call): New function. + (program_state::returning_call): New function. + * program-state.h (program_state::push_call): New decl. + (program_state::returning_call): New decl. + * region-model.cc (region_model::update_for_gcall) New function. + (region_model::update_for_return_gcall): New function. + (egion_model::update_for_call_superedge): Get the underlying gcall and + update for gcall. + (region_model::update_for_return_superedge): Likewise. + * region-model.h (region_model::update_for_gcall): New decl. + (region_model::update_for_return_gcall): New decl. + * state-purge.cc (state_purge_per_ssa_name::process_point): Update to + work with calls without underlying cgraph edge. + * supergraph.cc (supergraph::supergraph) Split snodes at every callsite. + * supergraph.h (supernode::get_returning_call) New accessor. + 2021-08-04 David Malcolm PR analyzer/101570 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 55959948ac7..ab566ba10ef 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2021-08-18 Jakub Jelinek + + * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_NOTHING. + * c-pragma.c (omp_pragmas): Add nothing directive. + * c-omp.c (omp_directives): Uncomment nothing directive entry. + 2021-08-17 Jakub Jelinek PR c++/101539 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index caeac5b2c31..53abd1a01db 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,32 @@ +2021-08-18 Jakub Jelinek + + * c-parser.c (c_parser_omp_nothing): New function. + (c_parser_pragma): Handle PRAGMA_OMP_NOTHING. + +2021-08-18 Jakub Jelinek + + * c-parser.c (c_parser_statement_after_labels): Add restart label + near the start of the function. If c_parser_pragma returns false, + goto restart. + (c_parser_pragma): For PRAGMA_OMP_CANCELLATION_POINT return what + c_parser_omp_cancellation_point returned. For PRAGMA_OMP_DECLARE + return what c_parser_omp_declare returned. Return true instead of + false after emitting errors that the directive is not allowed in + pragma_stmt context. + (c_parser_omp_ordered): Return true instead of + false after emitting errors that the directive is not allowed in + pragma_stmt context. + (c_parser_omp_target_update): Likewise. + (c_parser_omp_target_enter_data, c_parser_omp_target_exit_data): + Change return type from tree to bool, return false if the + directive should be ignored in pragma_stmt contexts. + (c_parser_omp_target): Adjust callers of c_parser_omp_target_*_data, + return their result directly. + (c_parser_omp_cancellation_point): Change return type from void to + bool, return false if the directive should be ignored in pragma_stmt + contexts. + (c_parser_omp_declare): Likewise. + 2021-08-17 Jakub Jelinek * c-parser.c (OMP_SCOPE_CLAUSE_MASK): Define. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a2d47b38256..a06a49613c8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,42 @@ +2021-08-18 Patrick Palka + + PR c++/101344 + PR c++/101820 + * cp-tree.h (CONSTRUCTOR_BRACES_ELIDED_P): Define. + * decl.c (reshape_init_r): Set it. + * pt.c (collect_ctor_idx_types): Recurse into a sub-CONSTRUCTOR + iff CONSTRUCTOR_BRACES_ELIDED_P. + +2021-08-18 Patrick Palka + + PR c++/101883 + * pt.c (convert_template_argument): Pass LOOKUP_IMPLICIT to + do_auto_deduction. + +2021-08-18 Jakub Jelinek + + * parser.c (cp_parser_omp_nothing): New function. + (cp_parser_pragma): Handle PRAGMA_OMP_NOTHING. + +2021-08-18 Jakub Jelinek + + * parser.c (cp_parser_omp_ordered): Return true instead of + false after emitting errors that the directive is not allowed in + pragma_stmt context. + (cp_parser_omp_target_update): Likewise. + (cp_parser_omp_cancellation_point): Change return type from void to + bool, return false if the directive should be ignored in pragma_stmt + contexts. + (cp_parser_omp_target_enter_data, cp_parser_omp_target_exit_data): + Change return type from tree to bool, return false if the + directive should be ignored in pragma_stmt contexts. + (cp_parser_omp_target): Adjust callers of cp_parser_omp_target_*_data, + return their result directly. + (cp_parser_pragma): For PRAGMA_OMP_CANCELLATION_POINT return what + cp_parser_omp_cancellation_point returned. Return true instead of + false after emitting errors that the directive is not allowed in + pragma_stmt context. + 2021-08-17 Jakub Jelinek PR c++/101539 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 86a2bdae6ee..90a3e53a841 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2021-08-18 Tobias Burnus + + * match.h (gfc_match_omp_nothing): New. + * openmp.c (gfc_match_omp_nothing): New. + * parse.c (decode_omp_directive): Match 'nothing' directive. + 2021-08-17 Tobias Burnus * dump-parse-tree.c (show_omp_node, show_code_node): Handle diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 2a2675a6907..7557e176600 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,8 @@ +2021-08-18 Iain Sandoe + + PR jit/100613 + * Make-lang.in: Provide clauses for Darwin hosts. + 2021-07-18 Antoni Boucher PR target/95498 diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 8adde0d2ad5..ea8c88b07b6 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,13 @@ +2021-08-18 Iain Sandoe + Matt Jacobson + + PR objc/101666 + * objc-act.c (objc_build_constructor): Handle empty constructor + lists. + * objc-next-runtime-abi-02.c (build_v2_objc_method_fixup_call): + Handle nil receivers. + (build_v2_build_objc_method_call): Likewise. + 2021-08-17 Matt Jacobson * objc-next-runtime-abi-02.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e5dcd4a0172..57b714a93ac 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,77 @@ +2021-08-18 Tobias Burnus + + PR testsuite/101963 + * gfortran.dg/nothing-1.f90: Moved to ... + * gfortran.dg/gomp/nothing-1.f90: ... here. + * gfortran.dg/nothing-2.f90: Moved to ... + * gfortran.dg/gomp/nothing-2.f90: ... here; + avoid $ issue in $OMP in dg-error. + +2021-08-18 Iain Sandoe + Matt Jacobson + + PR objc/101666 + * obj-c++.dg/pr101666-0.mm: New test. + * obj-c++.dg/pr101666-1.mm: New test. + * obj-c++.dg/pr101666.inc: New. + * objc.dg/pr101666-0.m: New test. + * objc.dg/pr101666-1.m: New test. + * objc.dg/pr101666.inc: New. + +2021-08-18 Ankur Saini + + PR analyzer/97114 + * g++.dg/analyzer/vfunc-2.C: New test. + * g++.dg/analyzer/vfunc-3.C: New test. + * g++.dg/analyzer/vfunc-4.C: New test. + * g++.dg/analyzer/vfunc-5.C: New test. + +2021-08-18 Ankur Saini + + PR analyzer/100546 + * gcc.dg/analyzer/function-ptr-4.c: New test. + * gcc.dg/analyzer/pr100546.c: New test. + +2021-08-18 Tobias Burnus + + * gfortran.dg/nothing-1.f90: New test. + * gfortran.dg/nothing-2.f90: New test. + +2021-08-18 Patrick Palka + + PR c++/101344 + PR c++/101820 + * g++.dg/cpp2a/class-deduction-aggr11.C: New test. + * g++.dg/cpp2a/class-deduction-aggr12.C: New test. + +2021-08-18 Patrick Palka + + PR c++/101883 + * g++.dg/cpp2a/nontype-class49.C: New test. + +2021-08-18 Jakub Jelinek + + * c-c++-common/gomp/nothing-1.c: New test. + * g++.dg/gomp/attrs-1.C (bar): Add nothing directive test. + * g++.dg/gomp/attrs-2.C (bar): Likewise. + * g++.dg/gomp/attrs-9.C: Likewise. + +2021-08-18 Jakub Jelinek + + * c-c++-common/gomp/pr63326.c: Don't expect extra "before" errors + in C++. + * g++.dg/gomp/attrs-7.C: Don't expect one extra error. + * g++.dg/gomp/barrier-2.C: Likewise. + * gcc.dg/gomp/declare-simd-5.c: Likewise. + * gcc.dg/gomp/barrier-2.c: Likewise. + * gcc.dg/gomp/declare-variant-2.c: Likewise. + +2021-08-18 liuhongt + + PR target/97147 + * gcc.target/i386/pr54400.c: Adjust testcase. + * gcc.target/i386/pr94147.c: New test. + 2021-08-17 Martin Sebor PR middle-end/101854 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index df8323c3774..b45776ebfd3 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,23 @@ +2021-08-18 Tobias Burnus + + * omp_lib.f90.in (omp_alloc, omp_free, omp_target_alloc, + omp_target_free. omp_target_is_present, omp_target_memcpy, + omp_target_memcpy_rect, omp_target_associate_ptr, + omp_target_disassociate_ptr): Add interface. + * omp_lib.h.in (omp_alloc, omp_free, omp_target_alloc, + omp_target_free. omp_target_is_present, omp_target_memcpy, + omp_target_memcpy_rect, omp_target_associate_ptr, + omp_target_disassociate_ptr): Add interface. + * testsuite/libgomp.fortran/alloc-1.F90: Remove local + interface block for omp_alloc + omp_free. + * testsuite/libgomp.fortran/alloc-4.f90: Likewise. + * testsuite/libgomp.fortran/refcount-1.f90: New test. + * testsuite/libgomp.fortran/target-12.f90: New test. + +2021-08-18 Jakub Jelinek + + * testsuite/libgomp.c-c++-common/nothing-1.c: New test. + 2021-08-17 Tobias Burnus * testsuite/libgomp.fortran/scope-1.f90: New test. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 0143d429eb8..f6ffd1649d3 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2021-08-18 Iain Sandoe + + * simple-object-mach-o.c (simple_object_mach_o_write_segment): + Arrange to swap the LTO index tables where needed. + 2021-06-30 Gerald Pfeifer * make-temp-file.c (usrtmp): Remove. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8f01da83801..e64efaff220 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,65 @@ +2021-08-18 Jonathan Wakely + + * include/bits/unique_ptr.h (default_delete): Add @since tag. + (unique_ptr, unique_ptr): Likewise. Improve @brief. + (make_unique, make_unique_for_overwrite): Likewise. Add @tparam, + @param, and @returns. + (_MakeUniq): Move to __detail namespace. Add alias template + helpers. + +2021-08-18 Jonathan Wakely + + * include/bits/stl_function.h: Improve doxygen comments. + +2021-08-18 Jonathan Wakely + + * doc/doxygen/user.cfg.in (PREDEFINED): Enable doxygen + processing for C++20 components and components that depend on + compiler features. + * include/bits/stl_algo.h (random_shuffle): Use @deprecated. + * include/std/type_traits: Improve doxygen comments for C++20 + traits. + +2021-08-18 Jonathan Wakely + + * include/ext/type_traits.h (__promote_2, __promote_3) + (__promote_4): Redfine as alias templates using __promoted_t. + * include/std/complex (__promote_2): Remove partial + specializations for std::complex. + +2021-08-18 Jonathan Wakely + + * include/bits/stl_algo.h (min(initializer_list)) + (min(initializer_list, Compare)): Call __min_element directly to + avoid redundant debug checks for valid ranges. + (max(initializer_list), max(initializer_list, Compare)): + Likewise, for __max_element. + (minmax(initializer_list), minmax(initializer_list, Compare)): + Likewise, for __minmax_element. + +2021-08-18 Jonathan Wakely + + * include/debug/deque (deque(size_type, const T&, const A&)): + Prevent class template argument deduction and replace with a + deduction guide. + * include/debug/forward_list (forward_list(size_type, const T&, const A&)): + Likewise. + * include/debug/list (list(size_type, const T&, const A&)): + Likewise. + * include/debug/vector (vector(size_type, const T&, const A&)): + Likewise. + +2021-08-18 Jonathan Wakely + + * python/libstdcxx/v6/printers.py (StdBitReferencePrinter): Use + 'std::vector::reference' as type name, not _Bit_reference. + (build_libstdcxx_dictionary): Register printers for vector + types in debug mode too. + * testsuite/libstdc++-prettyprinters/simple.cc: Adjust expected + output for invalid _Bit_reference. Use vector::reference + instead of _Bit_reference. + * testsuite/libstdc++-prettyprinters/simple11.cc: Likewise. + 2021-08-17 Thomas Schwinge * testsuite/lib/libstdc++.exp: Avoid illegal argument to verbose,