summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-10-22 00:16:31 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-10-22 00:16:31 +0000
commitae5c540662e08de72c849bad992fea468e3b6017 (patch)
tree16f54108289e470ff60edc858ab2eec11553f423
parent394f60e6ed9fbf3a833024041ec8ec26bde5aa3b (diff)
downloadgcc-ae5c540662e08de72c849bad992fea468e3b6017.tar.gz
Daily bump.
-rw-r--r--gcc/ChangeLog128
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog6
-rw-r--r--gcc/fortran/ChangeLog30
-rw-r--r--gcc/testsuite/ChangeLog66
-rw-r--r--libcody/ChangeLog5
-rw-r--r--libgomp/ChangeLog6
-rw-r--r--libstdc++-v3/ChangeLog101
8 files changed, 343 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 115f32e5061..4cead4480b4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,131 @@
+2021-10-21 H.J. Lu <hjl.tools@gmail.com>
+
+ PR target/98667
+ * doc/invoke.texi: Document -fcf-protection requires i686 or
+ new.
+
+2021-10-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR middle-end/102764
+ * cfgexpand.c (expand_gimple_basic_block): Robustify latest change.
+
+2021-10-21 Jonathan Wright <jonathan.wright@arm.com>
+
+ * config/aarch64/arm_neon.h (__STRUCTN): Delete function
+ macro and all invocations.
+
+2021-10-21 Andrew MacLeod <amacleod@redhat.com>
+
+ * doc/invoke.texi (ranger-debug): Document.
+ * flag-types.h (enum ranger_debug): New.
+ (enum evrp_mode): Remove debug values.
+ * gimple-range-cache.cc (DEBUG_RANGE_CACHE): Use new debug flag.
+ * gimple-range-gori.cc (gori_compute::gori_compute): Ditto.
+ * gimple-range.cc (gimple_ranger::gimple_ranger): Ditto.
+ * gimple-ssa-evrp.c (hybrid_folder::choose_value): Ditto.
+ (execute_early_vrp): Use evrp-mode directly.
+ * params.opt (enum evrp_mode): Remove debug values.
+ (ranger-debug): New.
+ (ranger-logical-depth): Relocate to be in alphabetical order.
+
+2021-10-21 Andrew MacLeod <amacleod@redhat.com>
+
+ * doc/invoke.texi: (vrp1-mode, vrp2-mode): Document.
+ * flag-types.h: (enum vrp_mode): New.
+ * params.opt: (vrp1-mode, vrp2-mode): New.
+ * tree-vrp.c (vrp_pass_num): New.
+ (pass_vrp::pass_vrp): Set pass number.
+ (pass_vrp::execute): Choose which VRP mode to execute.
+
+2021-10-21 Andrew MacLeod <amacleod@redhat.com>
+
+ * gimple-ssa-evrp.c (class rvrp_folder): Move to tree-vrp.c.
+ (execute_early_vrp): For ranger only mode, invoke ranger_vrp.
+ * tree-vrp.c (class rvrp_folder): Relocate here.
+ (execute_ranger_vrp): New.
+ * tree-vrp.h (execute_ranger_vrp): Export.
+
+2021-10-21 Martin Liska <mliska@suse.cz>
+
+ PR debug/102585
+ PR bootstrap/102766
+ * opts.c (finish_options): Process flag_var_tracking* options
+ here as they can be adjusted by optimize attribute.
+ Process also flag_syntax_only and flag_gtoggle.
+ * toplev.c (process_options): Remove it here.
+ * common.opt: Make debug_nonbind_markers_p as PerFunction
+ attribute as it depends on optimization level.
+
+2021-10-21 Martin Jambor <mjambor@suse.cz>
+
+ PR tree-optimization/102505
+ * tree-sra.c (totally_scalarize_subtree): Check that the
+ encountered field fits within the acces we would like to put it
+ in.
+
+2021-10-21 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-ssa-threadbackward.c
+ (back_threader::maybe_register_path): Remove circular paths check.
+
+2021-10-21 Richard Biener <rguenther@suse.de>
+
+ * toplev.c (process_options): Move the initial debug_hooks
+ setting ...
+ (toplev::main): ... before the call of the post_options
+ langhook.
+
+2021-10-21 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/102847
+ * tree-vect-stmts.c (vect_model_load_cost): Add the scalar
+ load cost in the prologue for VMAT_INVARIANT.
+
+2021-10-21 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/102847
+ * tree-vect-stmts.c (vect_model_load_cost): Explicitely
+ handle VMAT_INVARIANT as a splat in the prologue.
+
+2021-10-21 Hongyu Wang <hongyu.wang@intel.com>
+
+ PR target/102812
+ * config/i386/i386.c (ix86_get_ssemov): Adjust HFmode vector
+ move to use the same logic as HImode.
+
+2021-10-21 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.c (vect_build_slp_tree_1): Remove
+ superfluous gimple_call_nothrow_p check.
+
+2021-10-21 Andrew Pinski <apinski@marvell.com>
+
+ * tree-cfg.c (maybe_remove_writeonly_store): Add dce_ssa_names argument.
+ Mark the ssa-name of the rhs as one to be removed.
+ (execute_fixup_cfg): Update call to maybe_remove_writeonly_store.
+ Call simple_dce_from_worklist at the end to a simple dce.
+
+2021-10-21 Andrew Pinski <apinski@marvell.com>
+
+ * tree-cfg.c (maybe_remove_writeonly_store): New function
+ factored out from ...
+ (execute_fixup_cfg): Here. Call maybe_remove_writeonly_store.
+
+2021-10-21 Andrew Pinski <apinski@marvell.com>
+
+ * tree-cfg.c (execute_fixup_cfg): Remove comment
+ about standalone pass.
+
+2021-10-21 Andrew Pinski <apinski@marvell.com>
+
+ * tree-cfg.c (execute_fixup_cfg): Output when the statement
+ is removed when it is a write only var.
+
+2021-10-21 Aldy Hernandez <aldyh@redhat.com>
+
+ * tree-ssa-threadbackward.c (back_threader::maybe_register_path):
+ Avoid threading circular paths.
+
2021-10-20 Alex Coplan <alex.coplan@arm.com>
* calls.c (initialize_argument_information): Remove some dead
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 9b3296bb752..a8f37414554 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20211021
+20211022
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index c5f59152ee2..9044f662c28 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,9 @@
+2021-10-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/64888
+ * c-omp.c (c_omp_predefined_variable): Return true also for
+ ubsan_create_data created artificial variables.
+
2021-10-14 Joseph Myers <joseph@codesourcery.com>
* c-format.c (printf_length_specs, scanf_length_specs)
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index f75b880dabd..1630a1e2552 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,33 @@
+2021-10-21 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * decl.c (gfc_match_end): Add COMP_OMP_STRICTLY_STRUCTURED_BLOCK case
+ together with COMP_BLOCK.
+ * parse.c (parse_omp_structured_block): Change return type to
+ 'gfc_statement', add handling for strictly-structured block case, adjust
+ recursive calls to parse_omp_structured_block.
+ (parse_executable): Adjust calls to parse_omp_structured_block.
+ * parse.h (enum gfc_compile_state): Add
+ COMP_OMP_STRICTLY_STRUCTURED_BLOCK.
+ * trans-openmp.c (gfc_trans_omp_workshare): Add EXEC_BLOCK case
+ handling.
+
+2021-10-21 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR fortran/94070
+ * expr.c (gfc_simplify_expr): Handle GFC_ISYM_SHAPE along with
+ GFC_ISYM_LBOUND and GFC_ISYM_UBOUND.
+ * trans-array.c (gfc_conv_ss_startstride): Likewise.
+ (set_loop_bounds): Likewise.
+ * trans-intrinsic.c (gfc_trans_intrinsic_bound): Extend to
+ handle SHAPE. Correct logic for zero-size special cases and
+ detecting assumed-rank arrays associated with an assumed-size
+ argument.
+ (gfc_conv_intrinsic_shape): Deleted.
+ (gfc_conv_intrinsic_function): Handle GFC_ISYM_SHAPE like
+ GFC_ISYM_LBOUND and GFC_ISYM_UBOUND.
+ (gfc_add_intrinsic_ss_code): Likewise.
+ (gfc_walk_intrinsic_bound): Likewise.
+
2021-10-20 Chung-Lin Tang <cltang@codesourcery.com>
* openmp.c (gfc_match_omp_clause_reduction): Add 'openmp_target' default
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 602b727f1a5..abffde15a20 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,69 @@
+2021-10-21 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR testsuite/102840
+ * gcc.target/i386/pr22076.c: Adjust to avoid compile time optimization.
+
+2021-10-21 Hongyu Wang <hongyu.wang@intel.com>
+
+ * gcc.target/i386/avx512fp16-13.c: Adjust scan-assembler for
+ xmm/ymm load/store.
+
+2021-10-21 Martin Liska <mliska@suse.cz>
+
+ PR debug/102585
+ PR bootstrap/102766
+ * gcc.dg/pr102585.c: New test.
+
+2021-10-21 Martin Jambor <mjambor@suse.cz>
+
+ PR tree-optimization/102505
+ * g++.dg/torture/pr102505.C: New test.
+
+2021-10-21 Jakub Jelinek <jakub@redhat.com>
+
+ * gfortran.dg/gomp/strictly-structured-block-1.f90: Use call do_work
+ instead of x = x + 1 in places where the latter could be a data race.
+ * gfortran.dg/gomp/strictly-structured-block-2.f90: Likewise.
+ * gfortran.dg/gomp/strictly-structured-block-3.f90: Likewise.
+
+2021-10-21 Hongyu Wang <hongyu.wang@intel.com>
+
+ PR target/102812
+ * gcc.target/i386/pr102812.c: New test.
+
+2021-10-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/64888
+ * c-c++-common/ubsan/pr64888.c: New test.
+
+2021-10-21 Andrew Pinski <apinski@marvell.com>
+
+ * gcc.dg/pr36902.c: Move buf to be a non-static variable.
+
+2021-10-21 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/102861
+ * gcc.dg/vect/bb-slp-16.c: Revert previous change, scan
+ the vect dump instead.
+
+2021-10-21 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * gfortran.dg/gomp/cancel-1.f90: Adjust testcase.
+ * gfortran.dg/gomp/nesting-3.f90: Adjust testcase.
+ * gfortran.dg/gomp/strictly-structured-block-1.f90: New test.
+ * gfortran.dg/gomp/strictly-structured-block-2.f90: New test.
+ * gfortran.dg/gomp/strictly-structured-block-3.f90: New test.
+
+2021-10-21 Sandra Loosemore <sandra@codesourcery.com>
+
+ PR fortran/94070
+ * gfortran.dg/c-interop/shape-bindc.f90: New test.
+ * gfortran.dg/c-interop/shape-poly.f90: New test.
+ * gfortran.dg/c-interop/size-bindc.f90: New test.
+ * gfortran.dg/c-interop/size-poly.f90: New test.
+ * gfortran.dg/c-interop/ubound-bindc.f90: New test.
+ * gfortran.dg/c-interop/ubound-poly.f90: New test.
+
2021-10-20 Tamar Christina <tamar.christina@arm.com>
* gcc.target/aarch64/mvn-cmeq0-1.c: New test.
diff --git a/libcody/ChangeLog b/libcody/ChangeLog
index 05826962dba..1fa12d81610 100644
--- a/libcody/ChangeLog
+++ b/libcody/ChangeLog
@@ -1,3 +1,8 @@
+2021-10-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * netserver.cc (ListenInet6): Set pointer to null after
+ deallocation.
+
2021-04-06 Nathan Sidwell <nathan@acm.org>
* LICENSE.gcc: Delete.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 50d14b32a3c..c59b31a766e 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,9 @@
+2021-10-21 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * libgomp.texi (Support of strictly structured blocks in Fortran):
+ Adjust to 'Y'.
+ * testsuite/libgomp.fortran/task-reduction-16.f90: Adjust testcase.
+
2021-10-20 Chung-Lin Tang <cltang@codesourcery.com>
* testsuite/libgomp.fortran/target-in-reduction-1.f90: New test.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3aa8a53366a..ba9717f480f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,104 @@
+2021-10-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/doxygen/stdheader.cc: Refactor. Use C++23. Add new
+ headers.
+ * scripts/run_doxygen: Fix post-processing of #include
+ directives in man pages. Use new xg++ to compile helper program.
+
+2021-10-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/mofunc_impl.h: Add doxygen comments.
+ * include/std/functional: Likewise.
+
+2021-10-21 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/alloc_traits.h: Suppress doxygen documentation.
+ * include/bits/allocated_ptr.h: Likewise.
+ * include/bits/enable_special_members.h: Likewise.
+ * include/bits/hashtable.h: Likewise.
+ * include/bits/hashtable_policy.h: Likewise.
+ * include/bits/uses_allocator.h: Likewise.
+ * include/bits/node_handle.h: Document node handles and suppress
+ documentation for protected members.
+ * include/std/any: Suppress documentation for implementation
+ details.
+
+2021-10-21 Patrick Palka <ppalka@redhat.com>
+
+ PR libstdc++/102358
+ * include/bits/stl_iterator.h (__niter_base): Make constexpr
+ for C++20.
+ (__miter_base): Likewise.
+ * testsuite/25_algorithms/move/constexpr.cc: New test.
+
+2021-10-21 Patrick Palka <ppalka@redhat.com>
+
+ * include/std/ranges (istream_view): Replace this function
+ template with an alias template as per P2432R1.
+ (wistream_view): Define as per P2432R1.
+ (views::_Istream, views::istream): Likewise.
+ * testsuite/std/ranges/istream_view.cc (test07): New test.
+
+2021-10-21 Patrick Palka <ppalka@redhat.com>
+
+ * include/bits/ranges_util.h (views::_Drop): Forward declare.
+ (subrange): Befriend views::_Drop.
+ (subrange::_S_store_size): Declare constexpr instead of just
+ const, remove obsolete comment.
+ * include/std/ranges (views::__detail::__is_empty_view): Define.
+ (views::__detail::__is_basic_string_view): Likewise.
+ (views::__detail::__is_subrange): Likewise.
+ (views::__detail::__is_iota_view): Likewise.
+ (views::__detail::__can_take_view): Rename template parm _Tp to _Dp.
+ (views::_Take): Rename template parm _Tp to _Dp, make it non-deducible
+ and fix it to range_difference_t<_Range>. Implement P1739R4 and
+ LWG 3407 changes.
+ (views::__detail::__can_drop_view): Rename template parm _Tp to _Dp.
+ (views::_Drop): As with views::_Take.
+ (views::_Counted): Implement P1739R4 changes.
+ * include/std/span (__detail::__is_std_span): Rename to ...
+ (__detail::__is_span): ... this and turn it into a variable
+ template.
+ (__detail::__is_std_array): Turn it into a variable template.
+ (span::span): Adjust uses of __is_std_span and __is_std_array
+ accordingly.
+ * testsuite/std/ranges/adaptors/p1739.cc: New test.
+
+2021-10-21 Patrick Palka <ppalka@redhat.com>
+
+ * include/bits/stl_iterator.h (common_iterator::__arrow_proxy):
+ Make fully constexpr as per LWG 3595.
+ (common_iterator::__postfix_proxy): Likewise.
+
+2021-10-21 Patrick Palka <ppalka@redhat.com>
+
+ * include/std/ranges (lazy_split_view::base): Add forward_range
+ constraint as per LWG 3591.
+ (lazy_split_view::begin, lazy_split_view::end): Also check
+ simpleness of _Pattern as per LWG 3592.
+ (split_view::base): Relax copyable constraint as per LWG 3590.
+
+2021-10-21 Patrick Palka <ppalka@redhat.com>
+
+ * include/std/ranges (join_view::__iter_cat::_S_iter_cat): Adjust
+ criteria for returning bidirectional_iterator_tag as per LWG 3535.
+ (join_view::_Iterator::_S_iter_concept): Likewise.
+
+2021-10-21 Patrick Palka <ppalka@redhat.com>
+
+ * include/bits/ranges_base.h (viewable_range): Adjust as per
+ LWG 3481.
+ * testsuite/std/ranges/adaptors/all.cc (test07): New test.
+
+2021-10-21 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/102863
+ * include/std/optional (optional::and_then, optional::transform):
+ Remove requires-clause.
+ * testsuite/20_util/optional/monadic/and_then.cc: Check
+ overload resolution doesn't cause errors.
+ * testsuite/20_util/optional/monadic/transform.cc: Likewise.
+
2021-10-20 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/optional/monadic/transform.cc: Check that