From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 893E33A4B000; Fri, 6 Nov 2020 00:17:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 893E33A4B000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r11-4760] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 44e1f63e20fec07e3a10d8e75336cfda64c911bf X-Git-Newrev: 0cfd9109e541efc756a5f17a0c05890b34784672 Message-Id: <20201106001701.893E33A4B000@sourceware.org> Date: Fri, 6 Nov 2020 00:17:01 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 00:17:01 -0000 https://gcc.gnu.org/g:0cfd9109e541efc756a5f17a0c05890b34784672 commit r11-4760-g0cfd9109e541efc756a5f17a0c05890b34784672 Author: GCC Administrator Date: Fri Nov 6 00:16:34 2020 +0000 Daily bump. Diff: --- gcc/ChangeLog | 114 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 5 +++ gcc/c-family/ChangeLog | 10 +++++ gcc/cp/ChangeLog | 40 +++++++++++++++++ gcc/testsuite/ChangeLog | 86 ++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 41 +++++++++++++++++ libstdc++-v3/ChangeLog | 75 +++++++++++++++++++++++++++++++ 8 files changed, 372 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 755c12906d4..eab26b5f3a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,117 @@ +2020-11-05 Marek Polacek + + PR c++/97675 + * doc/invoke.texi: Document -Wexceptions. + +2020-11-05 Marek Polacek + + PR c++/25814 + * doc/invoke.texi: Document -Wvexing-parse. + +2020-11-05 Andrew MacLeod + + PR tree-optimization/97725 + * range-op.cc (operator_equal::fold_range): Use new tmp value. + (operator_not_equal::fold_range): Ditto. + * value-query.cc (range_query::value_of_expr): Use int_range_max + not a value_range. + (range_query::value_on_edge): Ditto. + (range_query::value_of_stmt): Ditto. + +2020-11-05 Olivier Hainque + + * config/aarch64/aarch64-vxworks.h (TARGET_OS_USES_R18): + Remove definition. + (STATIC_CHAIN_REGNUM): Redefine to 9. + +2020-11-05 Olivier Hainque + + * config/aarch64/aarch64.md: Define PROBE_STACK_FIRST_REGNUM + and PROBE_STACK_SECOND_REGNUM constants, designating r10/r11. + Replacements for the PROBE_STACK_FIRST/SECOND_REG constants in + aarch64.c. + * config/aarch64/aarch64.c (PROBE_STACK_FIRST_REG): Remove. + (PROBE_STACK_SECOND_REG): Remove. + (aarch64_emit_probe_stack_range): Adjust to the _REG -> _REGNUM + suffix update for PROBE_STACK register numbers. + +2020-11-05 Jan Hubicka + + * gimple.c (gimple_call_fnspec): Handle C++ new and delete. + * gimple.h (gimple_call_from_new_or_delete): Constify parameter. + +2020-11-05 Aldy Hernandez + + PR tree-optimization/97721 + * gimple-range.cc (get_tree_range): Drop overflow from constants. + +2020-11-05 David Malcolm + + * tree-diagnostic-path.cc (struct path_summary::event_range): Move + out of path_summary to... + (struct event_range): ...here. + (class path_summary): Convert to... + (struct path_summary): ...this. + (path_summary::m_ranges): Drop "private". + (path_summary::print): Convert to... + (print_path_summary_as_text): ...this, passing in the path_summary + explicitly. + (default_tree_diagnostic_path_printer): Update for above change. + (selftest::test_empty_path): Likewise. + (selftest::test_intraprocedural_path): Likewise. + (selftest::test_interprocedural_path_1): Likewise. + (selftest::test_interprocedural_path_2): Likewise. + (selftest::test_recursion): Likewise. + +2020-11-05 qing zhao + + PR target/97715 + * config/i386/i386.c (zero_all_st_registers): Return + earlier when the FPU is disabled. + +2020-11-05 Jan Hubicka + + * ipa-modref.c (parm_map_for_arg): Initialize parm_offset and + parm_offset_knonw. + (read_section): Set writes_errno to false. + +2020-11-05 Richard Biener + + * tree-vect-data-refs.c (vect_slp_analyze_node_dependences): + Use the original stmts. + (vect_slp_analyze_node_alignment): Use the pattern stmt. + * tree-vect-slp.c (vect_fixup_store_groups_with_patterns): + New function. + (vect_slp_analyze_bb_1): Call it. + +2020-11-05 Tamar Christina + + * tree-vect-slp.c (vect_slp_tree_permute_noop_p): New. + (vect_optimize_slp): Optimize permutes. + (vectorizable_slp_permutation): Fix typo. + +2020-11-05 Richard Biener + + PR debug/97718 + * dwarf2out.c (add_abstract_origin_attribute): Make sure to + point to the abstract instance. + +2020-11-05 Tamar Christina + + * tree-vect-loop.c (vect_analyze_loop_2): Check kind. + * tree-vect-slp.c (vect_build_slp_instance): New. + (enum slp_instance_kind): Move to... + * tree-vectorizer.h (enum slp_instance_kind): .. Here + (SLP_INSTANCE_KIND): New. + +2020-11-05 Kewen Lin + + PR target/96933 + * config/rs6000/rs6000.c (rs6000_expand_vector_init): Use direct move + instructions for vector construction with char/short types. + * config/rs6000/rs6000.md (p8_mtvsrwz_v16qisi2): New define_insn. + (p8_mtvsrd_v16qidi2): Likewise. + 2020-11-04 Tamar Christina * tree-vect-slp.c (vect_analyze_slp_instance): Moved load/store lanes diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 35d25ab2f20..7096b2dbae9 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201105 +20201106 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index f87d2a7c357..44847ed78ef 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,8 @@ +2020-11-05 David Malcolm + + PR analyzer/97668 + * svalue.cc (cmp_cst): Handle COMPLEX_CST. + 2020-10-29 David Malcolm * program-state.cc (sm_state_map::on_liveness_change): Sort the diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 1022b11ea09..160c5ea7667 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,13 @@ +2020-11-05 Marek Polacek + + PR c++/97675 + * c.opt (Wexceptions): New option. + +2020-11-05 Marek Polacek + + PR c++/25814 + * c.opt (Wvexing-parse): New option. + 2020-11-04 Jakub Jelinek PR c++/97670 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7ad2d53f2c7..9046b10f38f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,43 @@ +2020-11-05 Marek Polacek + + * except.c (check_handlers_1): Add auto_diagnostic_group. + +2020-11-05 Marek Polacek + + PR c++/78209 + * pt.c (do_auto_deduction): If init is REFERENCE_REF_P, use its + first operand. + +2020-11-05 Marek Polacek + + PR c++/97675 + * except.c (check_handlers_1): Use OPT_Wexceptions for the + warning. Use inform for the second part of the warning. + +2020-11-05 Marek Polacek + + PR c++/25814 + * cp-tree.h (enum cp_tree_index): Add CPTI_EXPLICIT_VOID_LIST. + (explicit_void_list_node): Define. + (PARENTHESIZED_LIST_P): New macro. + (struct cp_declarator): Add function::parens_loc. + * decl.c (cxx_init_decl_processing): Initialize explicit_void_list_node. + (grokparms): Also break when explicit_void_list_node. + * parser.c (make_call_declarator): New location_t parameter. Use it + to set declarator->u.function.parens_loc. + (cp_parser_lambda_declarator_opt): Pass UNKNOWN_LOCATION to + make_call_declarator. + (warn_about_ambiguous_parse): New function. + (cp_parser_init_declarator): Call warn_about_ambiguous_parse. + (cp_parser_declarator): Set *parenthesized_p to false rather than to + true. + (cp_parser_direct_declarator): Create a location for the function's + parentheses and pass it to make_call_declarator. + (cp_parser_parameter_declaration_clause): Return explicit_void_list_node + for (void). + (cp_parser_parameter_declaration_list): Set PARENTHESIZED_LIST_P + in the parameters tree. + 2020-11-04 Jakub Jelinek PR c++/97670 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 64cd385aafb..cb9c26bd641 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,89 @@ +2020-11-05 Marek Polacek + + PR c++/78209 + * g++.dg/cpp1y/decltype-auto1.C: New test. + +2020-11-05 Marek Polacek + + PR c++/97675 + * g++.old-deja/g++.eh/catch10.C: Adjust dg-warning. + * g++.dg/warn/Wexceptions1.C: New test. + * g++.dg/warn/Wexceptions2.C: New test. + +2020-11-05 Marek Polacek + + PR c++/25814 + * g++.dg/cpp2a/fn-template16.C: Add a dg-warning. + * g++.dg/cpp2a/fn-template7.C: Likewise. + * g++.dg/lookup/pr80891-5.C: Likewise. + * g++.dg/lto/pr79050_0.C: Add extern. + * g++.dg/lto/pr84805_0.C: Likewise. + * g++.dg/parse/pr58898.C: Add a dg-warning. + * g++.dg/template/scope5.C: Likewise. + * g++.old-deja/g++.brendan/recurse.C: Likewise. + * g++.old-deja/g++.jason/template4.C: Likewise. + * g++.old-deja/g++.law/arm4.C: Likewise. + * g++.old-deja/g++.mike/for2.C: Likewise. + * g++.old-deja/g++.other/local4.C: Likewise. + * g++.old-deja/g++.pt/crash3.C: Likewise. + * g++.dg/warn/Wvexing-parse.C: New test. + * g++.dg/warn/Wvexing-parse2.C: New test. + * g++.dg/warn/Wvexing-parse3.C: New test. + * g++.dg/warn/Wvexing-parse4.C: New test. + * g++.dg/warn/Wvexing-parse5.C: New test. + * g++.dg/warn/Wvexing-parse6.C: New test. + * g++.dg/warn/Wvexing-parse7.C: New test. + +2020-11-05 Andrew MacLeod + + * gcc.dg/pr97725.c: New. + +2020-11-05 Olivier Hainque + + * gcc.dg/sms-12.c: Add dg-require-effective-target fpic. + +2020-11-05 Jan Hubicka + + * g++.dg/ipa/devirt-24.C: Update template. + +2020-11-05 Tamar Christina + + * gcc.dg/vect/slp-11b.c: Guard statements. + +2020-11-05 Aldy Hernandez + + * gcc.dg/pr97721.c: New test. + +2020-11-05 qing zhao + + PR target/97715 + * gcc.target/i386/zero-scratch-regs-32.c: New test. + +2020-11-05 David Malcolm + + PR analyzer/97668 + * gcc.dg/analyzer/pr97668.c: New test. + * gfortran.dg/analyzer/pr97668.f: New test. + +2020-11-05 Richard Biener + + * gcc.dg/vect/bb-slp-69.c: New testcase. + +2020-11-05 Tamar Christina + + * gcc.dg/vect/slp-11b.c: Update testcase. + * gcc.dg/vect/slp-perm-6.c: Update target selector. + +2020-11-05 Kewen Lin + + PR target/96933 + * gcc.target/powerpc/pr96933-1.c: New test. + * gcc.target/powerpc/pr96933-2.c: New test. + * gcc.target/powerpc/pr96933-3.c: New test. + * gcc.target/powerpc/pr96933-4.c: New test. + * gcc.target/powerpc/pr96933.h: New test. + * gcc.target/powerpc/pr96933-run.h: New test. + 2020-11-04 Tamar Christina * gcc.dg/vect/slp-11b.c: Update output scan. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 2c0d207283e..83f4ad7d7ba 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,44 @@ +2020-11-05 Ulrich Drepper + Kwok Cheung Yeung + + * Makefile.am (%.mod): Add -cpp and -fopenmp to compile flags. + * Makefile.in: Regenerate. + * fortran.c: Wrap uses of omp_set_nested and omp_get_nested with + pragmas to ignore -Wdeprecated-declarations warnings. + * icv.c: Likewise. + * omp.h.in (__GOMP_DEPRECATED_5_0): Define. + Mark omp_lock_hint_* enum values, omp_lock_hint_t, omp_set_nested, + and omp_get_nested with __GOMP_DEPRECATED_5_0. + * omp_lib.f90.in: Mark omp_get_nested and omp_set_nested as + deprecated. + * testsuite/libgomp.c++/affinity-1.C: Add -Wno-deprecated-declarations + to test options. + * testsuite/libgomp.c/affinity-1.c: Likewise. + * testsuite/libgomp.c/affinity-2.c: Likewise. + * testsuite/libgomp.c/appendix-a/a.15.1.c: Likewise. + * testsuite/libgomp.c/lib-1.c: Likewise. + * testsuite/libgomp.c/nested-1.c: Likewise. + * testsuite/libgomp.c/nested-2.c: Likewise. + * testsuite/libgomp.c/nested-3.c: Likewise. + * testsuite/libgomp.c/pr32362-1.c: Likewise. + * testsuite/libgomp.c/pr32362-2.c: Likewise. + * testsuite/libgomp.c/pr32362-3.c: Likewise. + * testsuite/libgomp.c/pr35549.c: Likewise. + * testsuite/libgomp.c/pr42942.c: Likewise. + * testsuite/libgomp.c/pr61200.c: Likewise. + * testsuite/libgomp.c/sort-1.c: Likewise. + * testsuite/libgomp.c/target-5.c: Likewise. + * testsuite/libgomp.c/target-6.c: Likewise. + * testsuite/libgomp.c/teams-1.c: Likewise. + * testsuite/libgomp.c/thread-limit-1.c: Likewise. + * testsuite/libgomp.c/thread-limit-2.c: Likewise. + * testsuite/libgomp.c/thread-limit-4.c: Likewise. + * testsuite/libgomp.fortran/affinity1.f90: Likewise. + * testsuite/libgomp.fortran/lib1.f90: Likewise. + * testsuite/libgomp.fortran/lib2.f: Likewise. + * testsuite/libgomp.fortran/nested1.f90: Likewise. + * testsuite/libgomp.fortran/teams1.f90: Likewise. + 2020-11-02 Thomas Schwinge PR target/85486 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fd8310a571f..89f9f6c8c38 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,78 @@ +2020-11-05 Marek Polacek + + PR c++/25814 + * testsuite/20_util/reference_wrapper/lwg2993.cc: Add a dg-warning. + * testsuite/25_algorithms/generate_n/87982_neg.cc: Likewise. + +2020-11-05 Jonathan Wakely + + PR libstdc++/96269 + * include/std/optional (operator==, operator!=, operator<) + (operator>, operator<=, operator>=): Fix types used in + SFINAE constraints. + * testsuite/20_util/optional/relops/96269.cc: New test. + +2020-11-05 Jonathan Wakely + + PR libstdc++/97731 + * src/filesystem/dir.cc (recursive_directory_iterator): Call the + right overload of _Dir::advance. + * testsuite/experimental/filesystem/iterators/97731.cc: New test. + +2020-11-05 Jonathan Wakely + + PR libstdc++/97729 + * include/std/future (__basic_future::_M_get_result): Use + nullptr for null pointer constant. + * libsupc++/eh_ptr.cc (operator==, operator!=): Remove + definitions. + * libsupc++/exception_ptr.h (_GLIBCXX_EH_PTR_USED): Define + macro to conditionally add __attribute__((__used__)). + (operator==, operator!=, exception_ptr::exception_ptr()) + (exception_ptr::exception_ptr(const exception_ptr&)) + (exception_ptr::~exception_ptr()) + (exception_ptr::operator=(const exception_ptr&)) + (exception_ptr::swap(exception_ptr&)): Always define as + inline. Add macro to be conditionally "used". + +2020-11-05 Jonathan Wakely + + PR libstdc++/97729 + * config/abi/pre/gnu.ver (GLIBCXX_3.4.29): Add exports. + * src/c++20/sstream-inst.cc (basic_stringbuf): Instantiate + private constructor taking __xfer_bufptrs. + +2020-11-05 Jonathan Wakely + + * include/std/sstream (basic_stringbuf(const allocator_type&): + Add explicit. + (basic_stringbuf(const basic_string&, openmode, const A&)): + Call _M_stringbuf_init. Construct _M_string from pointer and length + to avoid constraint checks for string view. + (basic_stringbuf::view()): Make __sv_type alias local to the + function. + (basic_istringstream(const basic_string&, openmode, const A&)): + Pass string to _M_streambuf instead of constructing a temporary + with the wrong allocator. + (basic_ostringstream(const basic_string&, openmode, const A&)): + Likewise. + (basic_stringstream(const basic_string&, openmode, const A&)): + Likewise. + * src/c++20/sstream-inst.cc: Use string_view and wstring_view + typedefs in explicit instantiations. + * testsuite/27_io/basic_istringstream/cons/char/1.cc: Add more + tests for constructors. + * testsuite/27_io/basic_ostringstream/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/cons/char/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/cons/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringstream/cons/char/1.cc: Likewise. + +2020-11-05 Jonathan Wakely + + * include/std/sstream: Adjust whitespace. + 2020-11-04 Jonathan Wakely PR libstdc++/97719