Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 6 Nov 2020 00:16:34 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 6 Nov 2020 00:16:34 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index 755c12906d4cefbe585eed03587d745c28ae2034..eab26b5f3a9e4079f9027848b5ca593c8ba97987 100644 (file)
@@ -1,3 +1,117 @@
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/97675
+       * doc/invoke.texi: Document -Wexceptions.
+
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/25814
+       * doc/invoke.texi: Document -Wvexing-parse.
+
+2020-11-05  Andrew MacLeod  <amacleod@redhat.com>
+
+       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  <hainque@adacore.com>
+
+       * config/aarch64/aarch64-vxworks.h (TARGET_OS_USES_R18):
+       Remove definition.
+       (STATIC_CHAIN_REGNUM): Redefine to 9.
+
+2020-11-05  Olivier Hainque  <hainque@adacore.com>
+
+       * 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  <jh@suse.cz>
+
+       * 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  <aldyh@redhat.com>
+
+       PR tree-optimization/97721
+       * gimple-range.cc (get_tree_range): Drop overflow from constants.
+
+2020-11-05  David Malcolm  <dmalcolm@redhat.com>
+
+       * 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  <qinzhao@gcc.gnu.org>
+
+       PR target/97715
+       * config/i386/i386.c (zero_all_st_registers): Return
+       earlier when the FPU is disabled.
+
+2020-11-05  Jan Hubicka  <jh@suse.cz>
+
+       * 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  <rguenther@suse.de>
+
+       * 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  <tamar.christina@arm.com>
+
+       * 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  <rguenther@suse.de>
+
+       PR debug/97718
+       * dwarf2out.c (add_abstract_origin_attribute): Make sure to
+       point to the abstract instance.
+
+2020-11-05  Tamar Christina  <tamar.christina@arm.com>
+
+       * 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  <linkw@linux.ibm.com>
+
+       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  <tamar.christina@arm.com>
 
        * tree-vect-slp.c (vect_analyze_slp_instance): Moved load/store lanes
index 35d25ab2f20fa465337d0b0a04b40728784582d7..7096b2dbae975b8e260fc2c316de0844b6128da1 100644 (file)
@@ -1 +1 @@
-20201105
+20201106
index f87d2a7c357e640d69849e2737dabb29cd0b33b3..44847ed78efac7851aa07ed05a98b7c2ef7d7595 100644 (file)
@@ -1,3 +1,8 @@
+2020-11-05  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/97668
+       * svalue.cc (cmp_cst): Handle COMPLEX_CST.
+
 2020-10-29  David Malcolm  <dmalcolm@redhat.com>
 
        * program-state.cc (sm_state_map::on_liveness_change): Sort the
index 1022b11ea09271c9481a3e55656687090a88a3bf..160c5ea7667f2c345a7f6d2456874f83d6fc3b09 100644 (file)
@@ -1,3 +1,13 @@
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/97675
+       * c.opt (Wexceptions): New option.
+
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/25814
+       * c.opt (Wvexing-parse): New option.
+
 2020-11-04  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/97670
index 7ad2d53f2c72fe142b3378e80e7a28a7d99e13cf..9046b10f38f83cf2d0c6e6f8b4ed799425fe089a 100644 (file)
@@ -1,3 +1,43 @@
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       * except.c (check_handlers_1): Add auto_diagnostic_group.
+
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/78209
+       * pt.c (do_auto_deduction): If init is REFERENCE_REF_P, use its
+       first operand.
+
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       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  <polacek@redhat.com>
+
+       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  <jakub@redhat.com>
 
        PR c++/97670
index 64cd385aafbdf661ce0ffb53f3564590ab1f85b1..cb9c26bd64100cce3d3afab871e52d5c0e4992e0 100644 (file)
@@ -1,3 +1,89 @@
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/78209
+       * g++.dg/cpp1y/decltype-auto1.C: New test.
+
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       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  <polacek@redhat.com>
+
+       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  <amacleod@redhat.com>
+
+       * gcc.dg/pr97725.c: New.
+
+2020-11-05  Olivier Hainque  <hainque@adacore.com>
+
+       * gcc.dg/sms-12.c: Add dg-require-effective-target fpic.
+
+2020-11-05  Jan Hubicka  <jh@suse.cz>
+
+       * g++.dg/ipa/devirt-24.C: Update template.
+
+2020-11-05  Tamar Christina  <tamar.christina@arm.com>
+
+       * gcc.dg/vect/slp-11b.c: Guard statements.
+
+2020-11-05  Aldy Hernandez  <aldyh@redhat.com>
+
+       * gcc.dg/pr97721.c: New test.
+
+2020-11-05  qing zhao  <qinzhao@gcc.gnu.org>
+
+       PR target/97715
+       * gcc.target/i386/zero-scratch-regs-32.c: New test.
+
+2020-11-05  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/97668
+       * gcc.dg/analyzer/pr97668.c: New test.
+       * gfortran.dg/analyzer/pr97668.f: New test.
+
+2020-11-05  Richard Biener  <rguenther@suse.de>
+
+       * gcc.dg/vect/bb-slp-69.c: New testcase.
+
+2020-11-05  Tamar Christina  <tamar.christina@arm.com>
+
+       * gcc.dg/vect/slp-11b.c: Update testcase.
+       * gcc.dg/vect/slp-perm-6.c: Update target selector.
+
+2020-11-05  Kewen Lin  <linkw@linux.ibm.com>
+
+       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  <tamar.christina@arm.com>
 
        * gcc.dg/vect/slp-11b.c: Update output scan.
index 2c0d207283e15491de786850d2aa9614ff7758ed..83f4ad7d7bac2527de6d60921ac04502a772d944 100644 (file)
@@ -1,3 +1,44 @@
+2020-11-05  Ulrich Drepper  <drepper@redhat.com>
+           Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * 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  <thomas@codesourcery.com>
 
        PR target/85486
index fd8310a571f950a38cc2a09059042101cd38b5a4..89f9f6c8c38b9c8fe5c9fd131c908790b0558571 100644 (file)
@@ -1,3 +1,78 @@
+2020-11-05  Marek Polacek  <polacek@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       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  <jwakely@redhat.com>
+
+       * include/std/sstream (basic_stringbuf(const allocator_type&):
+       Add explicit.
+       (basic_stringbuf(const basic_string<C,T,SA>&, 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<C,T,SA>&, openmode, const A&)):
+       Pass string to _M_streambuf instead of constructing a temporary
+       with the wrong allocator.
+       (basic_ostringstream(const basic_string<C,T,SA>&, openmode, const A&)):
+       Likewise.
+       (basic_stringstream(const basic_string<C,T,SA>&, 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  <jwakely@redhat.com>
+
+       * include/std/sstream: Adjust whitespace.
+
 2020-11-04  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/97719