From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 75932394AC18; Fri, 30 Jul 2021 15:18:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75932394AC18 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc/devel/c++-coroutines] Merge master r12-2577. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/devel/c++-coroutines X-Git-Oldrev: 4ba1d0a4104ccabda0f4af59ef480c348240c9d1 X-Git-Newrev: 8a445d621fb3d1869b5279abfd437880dacfc6f5 Message-Id: <20210730151849.75932394AC18@sourceware.org> Date: Fri, 30 Jul 2021 15:18:49 +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, 30 Jul 2021 15:18:49 -0000 https://gcc.gnu.org/g:8a445d621fb3d1869b5279abfd437880dacfc6f5 commit 8a445d621fb3d1869b5279abfd437880dacfc6f5 Merge: 4ba1d0a4104 7bf582e6cfc Author: Iain Sandoe Date: Wed Jul 28 19:27:02 2021 +0100 Merge master r12-2577. * Merge master r12-2577-g7bf582e6cfce. Diff: gcc/ChangeLog | 208 ++ gcc/DATESTAMP | 2 +- gcc/Makefile.in | 1 + gcc/alias.c | 12 - gcc/analyzer/ChangeLog | 5 + gcc/analyzer/analyzer.cc | 8 +- gcc/analyzer/analyzer.h | 8 +- gcc/analyzer/region-model.cc | 13 +- gcc/analyzer/sm-malloc.cc | 44 +- gcc/c-family/ChangeLog | 5 + gcc/c-family/c-warn.c | 3 +- gcc/calls.c | 4 +- gcc/cgraph.h | 4 + gcc/cgraphclones.c | 10 +- gcc/config.in | 24 + gcc/config/aarch64/aarch64-simd.md | 359 +- gcc/config/aarch64/aarch64.c | 12 +- gcc/config/aarch64/aarch64.md | 10 +- gcc/config/gcn/gcn-hsa.h | 25 +- gcc/config/gcn/gcn.c | 31 +- gcc/config/gcn/mkoffload.c | 3 + gcc/config/i386/i386.c | 94 +- gcc/config/i386/i386.h | 1 + gcc/config/i386/sse.md | 47 +- gcc/config/i386/x86-tune-costs.h | 26 + gcc/config/rs6000/rs6000-gen-builtins.c | 328 ++ gcc/configure | 129 + gcc/configure.ac | 29 + gcc/cp/ChangeLog | 22 + gcc/cp/cp-gimplify.c | 4 - gcc/cp/typeck.c | 15 +- gcc/d/d-builtins.cc | 15 + gcc/d/d-codegen.cc | 16 +- gcc/d/d-convert.cc | 15 +- gcc/d/d-lang.cc | 2 + gcc/d/d-tree.h | 1 + gcc/d/dmd/MERGE | 2 +- gcc/d/dmd/dcast.c | 15 +- gcc/d/dmd/expression.c | 16 +- gcc/d/dmd/expression.h | 2 + gcc/d/expr.cc | 2 +- gcc/fortran/ChangeLog | 14 + gcc/fortran/expr.c | 10 + gcc/fortran/match.c | 11 +- gcc/fortran/resolve.c | 35 +- gcc/gimple-fold.c | 4 + gcc/gimple-range-fold.cc | 49 +- gcc/gimple-range-gori.cc | 15 + gcc/gimple-range-path.cc | 329 ++ gcc/gimple-range-path.h | 85 + gcc/ipa-cp.c | 156 +- gcc/ipa-prop.c | 166 +- gcc/ipa-prop.h | 29 +- gcc/match.pd | 8 +- gcc/po/ChangeLog | 4 + gcc/sanopt.c | 5 +- gcc/simplify-rtx.c | 35 +- gcc/testsuite/ChangeLog | 107 + gcc/testsuite/c-c++-common/uninit-17.c | 6 +- gcc/testsuite/g++.dg/coroutines/pr99047.C | 1 + gcc/testsuite/g++.dg/cpp0x/nullptr11.C | 16 - gcc/testsuite/g++.dg/cpp0x/nullptr46.C | 3 +- gcc/testsuite/g++.dg/cpp2a/spaceship-err7.C | 14 + gcc/testsuite/g++.dg/expr/ptr-comp4.C | 21 + gcc/testsuite/g++.dg/gcov/gcov-threads-1.C | 2 +- gcc/testsuite/g++.dg/pr71655.C | 1 + .../g++.dg/torture/builtin-clear-padding-4.C | 44 + gcc/testsuite/gcc.c-torture/compile/pr101642.c | 17 + gcc/testsuite/gcc.dg/Wnonnull-4.c | 36 +- gcc/testsuite/gcc.dg/Wvla-parameter-13.c | 18 + gcc/testsuite/gcc.dg/analyzer/attr-malloc-1.c | 19 + gcc/testsuite/gcc.dg/analyzer/sock-1.c | 112 + gcc/testsuite/gcc.dg/analyzer/sock-2.c | 20 + gcc/testsuite/gcc.dg/analyzer/strdup-1.c | 19 + gcc/testsuite/gcc.dg/ipa/remref-3.c | 23 + gcc/testsuite/gcc.dg/ipa/remref-4.c | 31 + gcc/testsuite/gcc.dg/ipa/remref-5.c | 38 + gcc/testsuite/gcc.dg/ipa/remref-6.c | 24 + gcc/testsuite/gcc.dg/uninit-15-O0.c | 2 +- gcc/testsuite/gcc.dg/uninit-15.c | 10 +- gcc/testsuite/gcc.dg/uninit-23.c | 2 +- gcc/testsuite/gcc.dg/uninit-38.c | 39 +- gcc/testsuite/gcc.dg/uninit-41.c | 121 + gcc/testsuite/gcc.dg/uninit-pr101573.c | 10 + gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-1.c | 30 + gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c | 23 + gcc/testsuite/gcc.target/aarch64/smov_1.c | 12 + gcc/testsuite/gcc.target/aarch64/sve/clastb_4.c | 2 +- gcc/testsuite/gcc.target/i386/avx2-pr101611-1.c | 12 + gcc/testsuite/gcc.target/i386/avx2-pr101611-2.c | 41 + gcc/testsuite/gcc.target/i386/pr101456-1.c | 33 + gcc/testsuite/gcc.target/i386/pr101456-2.c | 33 + gcc/testsuite/gcc.target/i386/pr99881.c | 49 + gcc/testsuite/gcc.target/powerpc/ppc-eq0-1.c | 2 +- gcc/testsuite/gcc.target/powerpc/ppc-ne0-1.c | 30 +- gcc/testsuite/gcc.target/powerpc/ppc-ne0-2.c | 27 + gcc/testsuite/gcc.target/powerpc/pr101596-1.c | 30 + gcc/testsuite/gcc.target/powerpc/pr101596-2.c | 30 + gcc/testsuite/gcc.target/powerpc/pr101596-3.c | 58 + .../gcc.target/s390/global-array-element-pic2.c | 5 +- gcc/testsuite/gcc.target/s390/load-imm64-1.c | 4 +- gcc/testsuite/gcc.target/s390/load-imm64-2.c | 4 +- .../s390/vector/long-double-vx-macro-off-on.c | 2 +- .../s390/vector/long-double-vx-macro-on-off.c | 2 +- gcc/testsuite/gdc.dg/pr101127a.d | 8 + gcc/testsuite/gdc.dg/pr101127b.d | 7 + gcc/testsuite/gdc.dg/pr101490.d | 21 + gcc/testsuite/gdc.dg/pr101640.d | 11 + gcc/testsuite/gdc.dg/pr96429.d | 2 +- gcc/testsuite/gdc.test/compilable/b19002.d | 12 + gcc/testsuite/gdc.test/compilable/test22133.d | 16 + .../gdc.test/fail_compilation/fail22133.d | 24 + .../gdc.test/fail_compilation/fail22144.d | 14 + .../gdc.test/fail_compilation/fail7424b.d | 2 +- .../gdc.test/fail_compilation/fail7424c.d | 2 +- .../gdc.test/fail_compilation/fail7424d.d | 2 +- .../gdc.test/fail_compilation/fail7424e.d | 2 +- .../gdc.test/fail_compilation/fail7424f.d | 2 +- .../gdc.test/fail_compilation/fail7424g.d | 2 +- .../gdc.test/fail_compilation/fail7424h.d | 2 +- .../gdc.test/fail_compilation/fail7424i.d | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c | 12 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_10.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_11.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_12.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_15.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_16.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c | 2 +- .../gfortran.dg/ISO_Fortran_binding_17.f90 | 8 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_18.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_3.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_5.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_6.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_7.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_8.c | 2 +- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_9.c | 2 +- gcc/testsuite/gfortran.dg/PR94327.c | 2 +- gcc/testsuite/gfortran.dg/PR94331.c | 2 +- gcc/testsuite/gfortran.dg/allocate_stat.f90 | 8 +- gcc/testsuite/gfortran.dg/allocate_stat_3.f90 | 71 + .../gfortran.dg/bind_c_array_params_3_aux.c | 2 +- gcc/testsuite/gfortran.dg/implicit_11.f90 | 2 +- gcc/testsuite/gfortran.dg/inquiry_type_ref_3.f90 | 2 +- .../iso_fortran_binding_uint8_array_driver.c | 2 +- gcc/testsuite/gfortran.dg/pr93524.c | 2 +- gcc/testsuite/gfortran.dg/ubsan/pr101624.f90 | 13 + gcc/testsuite/gfortran.dg/ubsan/ubsan.exp | 38 + gcc/tree-ssa-dom.c | 21 +- gcc/tree-ssa-threadedge.c | 219 +- gcc/tree-ssa-threadedge.h | 39 +- gcc/tree-ssa-uninit.c | 142 + gcc/tree-vect-patterns.c | 63 +- gcc/tree-vect-slp.c | 18 +- gcc/tree-vect-stmts.c | 25 +- gcc/tree-vrp.c | 16 +- gcc/ubsan.c | 10 +- libcpp/po/ChangeLog | 4 + libgfortran/ChangeLog | 12 + ...tran_binding.h => ISO_Fortran_binding-1-tmpl.h} | 74 +- libgfortran/ISO_Fortran_binding-2-tmpl.h | 42 + libgfortran/ISO_Fortran_binding-3-tmpl.h | 5 + libgfortran/Makefile.am | 15 +- libgfortran/Makefile.in | 16 +- libgfortran/mk-kinds-h.sh | 25 +- libgfortran/runtime/ISO_Fortran_binding.c | 330 +- libgomp/ChangeLog | 76 + libgomp/env.c | 88 +- libgomp/fortran.c | 13 + libgomp/libgomp.h | 2 +- libgomp/libgomp.map | 7 + libgomp/oacc-mem.c | 4 +- libgomp/omp.h.in | 2 + libgomp/omp_lib.f90.in | 9 + libgomp/omp_lib.h.in | 2 + libgomp/plugin/plugin-gcn.c | 23 +- libgomp/target.c | 114 +- .../libgomp.oacc-c-c++-common/acc_prof-init-1.c | 49 +- .../acc_prof-parallel-1.c | 51 +- .../libgomp.oacc-c-c++-common/async-data-1-1.c | 88 + .../libgomp.oacc-c-c++-common/async-data-1-2.c | 99 + .../testsuite/libgomp.oacc-c-c++-common/lib-94.c | 4 +- .../testsuite/libgomp.oacc-c-c++-common/lib-95.c | 3 +- .../testsuite/libgomp.oacc-fortran/lib-16-2.f90 | 4 + libgomp/testsuite/libgomp.oacc-fortran/lib-16.f90 | 4 + libsanitizer/configure.tgt | 5 + libstdc++-v3/ChangeLog | 103 + libstdc++-v3/include/Makefile.am | 2 + libstdc++-v3/include/Makefile.in | 2 + libstdc++-v3/include/bits/basic_string.h | 2959 +--------------- libstdc++-v3/include/bits/basic_string.tcc | 649 +--- libstdc++-v3/include/bits/cow_string.h | 3642 ++++++++++++++++++++ libstdc++-v3/include/bits/fs_path.h | 2 +- libstdc++-v3/include/bits/ranges_util.h | 1 + libstdc++-v3/include/bits/stl_pair.h | 155 +- libstdc++-v3/include/bits/unique_ptr.h | 1 - libstdc++-v3/include/bits/utility.h | 205 ++ libstdc++-v3/include/debug/map.h | 2 +- libstdc++-v3/include/debug/multimap.h | 2 +- libstdc++-v3/include/debug/multiset.h | 2 +- libstdc++-v3/include/debug/set.h | 2 +- libstdc++-v3/include/debug/vector | 1 - libstdc++-v3/include/experimental/any | 2 +- libstdc++-v3/include/experimental/executor | 1 - libstdc++-v3/include/experimental/memory | 1 - libstdc++-v3/include/experimental/optional | 58 +- libstdc++-v3/include/experimental/socket | 10 +- libstdc++-v3/include/std/algorithm | 1 - libstdc++-v3/include/std/any | 3 +- libstdc++-v3/include/std/array | 30 +- libstdc++-v3/include/std/functional | 1 - libstdc++-v3/include/std/memory_resource | 6 +- libstdc++-v3/include/std/optional | 47 +- libstdc++-v3/include/std/regex | 2 +- libstdc++-v3/include/std/tuple | 36 +- libstdc++-v3/include/std/type_traits | 7 - libstdc++-v3/include/std/utility | 308 +- libstdc++-v3/include/std/variant | 6 +- libstdc++-v3/include/std/version | 2 +- libstdc++-v3/src/filesystem/ops-common.h | 3 +- .../testsuite/20_util/default_delete/48631_neg.cc | 2 +- .../testsuite/20_util/default_delete/void_neg.cc | 2 +- libstdc++-v3/testsuite/20_util/optional/84601.cc | 1 + .../uninitialized_copy/constrained.cc | 1 + .../uninitialized_default_construct/constrained.cc | 1 + .../uninitialized_fill/constrained.cc | 1 + .../uninitialized_move/constrained.cc | 1 + .../uninitialized_value_construct/constrained.cc | 1 + .../tuple/comparison_operators/overloaded.cc | 1 - .../tuple/comparison_operators/overloaded2.cc | 52 + .../23_containers/array/tuple_interface/get_neg.cc | 6 +- .../vector/cons/destructible_debug_neg.cc | 2 +- libstdc++-v3/testsuite/std/ranges/access/cbegin.cc | 1 + libstdc++-v3/testsuite/std/ranges/access/cend.cc | 1 + libstdc++-v3/testsuite/std/ranges/access/end.cc | 1 + libstdc++-v3/testsuite/std/ranges/single_view.cc | 1 + 235 files changed, 9057 insertions(+), 5028 deletions(-)