From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id C8B9B3858038; Tue, 27 Sep 2022 17:02:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8B9B3858038 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664298167; bh=BB3/1p89FlPyl9CpvY+SRWCzjeti6Wv9ZIJai2Itots=; h=From:To:Subject:Date:From; b=XZYjhlDHzoXUQdQqpT9Hazaz3mErZTBwb54OxMHKs3DW5hMas3qX3NqC409XCoj6N ho7dQzx7iVETOzRjdWcw6ynsnpsE9iyyU14kjXm2i/v8UUXuuKIoWNfTf7bVqcPJ01 dy/Q9B8JGAJMC+CppS0doIF4F02jf6GLPzDipzTU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge remote-tracking branch 'mainline/master' into ibuclaw/merge_mainline X-Act-Checkin: gcc X-Git-Author: Iain Buclaw X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: cecd314884a285957a110560bbd141a5f39ad7d3 X-Git-Newrev: 76425e19243cc310566fe7fd2f772039f9b8ec9f Message-Id: <20220927170247.C8B9B3858038@sourceware.org> Date: Tue, 27 Sep 2022 17:02:47 +0000 (GMT) List-Id: https://gcc.gnu.org/g:76425e19243cc310566fe7fd2f772039f9b8ec9f commit 76425e19243cc310566fe7fd2f772039f9b8ec9f Merge: cecd314884a 614e5696d73 Author: Iain Buclaw Date: Tue Sep 27 13:40:33 2022 +0200 Merge remote-tracking branch 'mainline/master' into ibuclaw/merge_mainline Fixes: #1544 Diff: ChangeLog | 4 + MAINTAINERS | 3 +- fixincludes/fixincl.x | 154 +- fixincludes/inclhack.def | 96 + fixincludes/tests/base/bits/floatn.h | 74 + gcc/ChangeLog | 123 + gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 111 +- gcc/ada/adaint.c | 13 +- gcc/ada/bindgen.adb | 9 +- gcc/ada/cal.c | 2 - gcc/ada/contracts.adb | 2 +- gcc/ada/cstreams.c | 8 - .../gnat_rm/implementation_defined_attributes.rst | 8 +- .../building_executable_programs_with_gnat.rst | 30 +- gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst | 1120 +------ gcc/ada/expect.c | 8 +- gcc/ada/gnat_rm.texi | 22 +- gcc/ada/gnat_ugn.texi | 12 +- gcc/ada/gsocket.h | 6 - gcc/ada/mingw32.h | 28 - gcc/ada/rtsfind.ads | 111 +- gcc/ada/s-oscons-tmplt.c | 3 - gcc/ada/sem_ch12.adb | 7 +- gcc/ada/sem_ch5.adb | 8 +- gcc/ada/sem_util.adb | 24 +- gcc/ada/sem_warn.ads | 9 +- gcc/ada/sysdep.c | 6 +- gcc/builtins.def | 5 +- gcc/c-family/ChangeLog | 6 + gcc/c-family/c-common.cc | 37 +- gcc/c-family/c-common.h | 1 + gcc/c-family/c-cppbuiltin.cc | 11 +- gcc/c-family/c-lex.cc | 20 +- gcc/c-family/c-omp.cc | 42 +- gcc/c-family/c-pragma.cc | 5 +- gcc/c-family/c-pragma.h | 5 +- gcc/c/ChangeLog | 7 + gcc/c/c-decl.cc | 4 + gcc/c/c-lang.h | 3 + gcc/c/c-parser.cc | 308 +- gcc/cfgcleanup.cc | 2 +- gcc/cfgcleanup.h | 1 + gcc/cfgrtl.cc | 30 +- gcc/config.gcc | 22 + gcc/config/aarch64/aarch64-arches.def | 3 + gcc/config/aarch64/aarch64.h | 18 + gcc/config/i386/avx512fp16intrin.h | 11 +- gcc/config/i386/i386-builtins.cc | 15 +- gcc/config/i386/i386-expand.cc | 116 + gcc/config/i386/i386.cc | 5 +- gcc/config/ia64/ia64.cc | 24 +- gcc/config/nvptx/gen-multilib-matches.sh | 60 + gcc/config/nvptx/nvptx.cc | 4 + gcc/config/nvptx/nvptx.h | 8 + gcc/config/nvptx/nvptx.opt | 2 +- gcc/config/nvptx/t-nvptx | 31 +- gcc/config/rs6000/rs6000-builtin.cc | 17 +- gcc/config/rs6000/rs6000-c.cc | 1 + gcc/config/rs6000/rs6000-logue.cc | 2 +- gcc/config/rs6000/rs6000.cc | 6 +- gcc/config/rs6000/vector.md | 2 +- gcc/config/s390/s390.cc | 15 +- gcc/cp/ChangeLog | 25 + gcc/cp/call.cc | 153 +- gcc/cp/cp-tree.h | 23 + gcc/cp/decl.cc | 26 +- gcc/cp/error.cc | 8 +- gcc/cp/lambda.cc | 89 +- gcc/cp/mangle.cc | 67 +- gcc/cp/method.cc | 23 +- gcc/cp/module.cc | 17 +- gcc/cp/parser.cc | 471 ++- gcc/cp/pt.cc | 3 +- gcc/cp/semantics.cc | 7 + gcc/cp/typeck.cc | 172 +- gcc/cp/typeck2.cc | 34 +- gcc/d/decl.cc | 2 +- gcc/d/dmd/MERGE | 2 +- gcc/d/dmd/aggregate.d | 13 +- gcc/d/dmd/aggregate.h | 2 +- gcc/d/dmd/apply.d | 25 +- gcc/d/dmd/arrayop.d | 12 +- gcc/d/dmd/attrib.d | 4 +- gcc/d/dmd/canthrow.d | 6 +- gcc/d/dmd/chkformat.d | 600 ++-- gcc/d/dmd/clone.d | 6 +- gcc/d/dmd/cparse.d | 19 +- gcc/d/dmd/dcast.d | 4 +- gcc/d/dmd/declaration.h | 4 +- gcc/d/dmd/dimport.d | 7 +- gcc/d/dmd/dinterpret.d | 12 +- gcc/d/dmd/dmangle.d | 17 + gcc/d/dmd/doc.d | 4 +- gcc/d/dmd/dsymbol.d | 6 + gcc/d/dmd/dsymbol.h | 2 +- gcc/d/dmd/dsymbolsem.d | 48 +- gcc/d/dmd/dtemplate.d | 71 +- gcc/d/dmd/escape.d | 5 +- gcc/d/dmd/expression.d | 20 + gcc/d/dmd/expression.h | 22 +- gcc/d/dmd/expressionsem.d | 92 +- gcc/d/dmd/func.d | 19 +- gcc/d/dmd/iasmgcc.d | 8 +- gcc/d/dmd/id.d | 2 + gcc/d/dmd/init.d | 1 + gcc/d/dmd/init.h | 1 + gcc/d/dmd/initsem.d | 553 ++-- gcc/d/dmd/lexer.d | 9 +- gcc/d/dmd/module.h | 2 +- gcc/d/dmd/mtype.d | 649 ++-- gcc/d/dmd/mtype.h | 4 +- gcc/d/dmd/opover.d | 9 +- gcc/d/dmd/parse.d | 102 +- gcc/d/dmd/root/object.h | 2 +- gcc/d/dmd/semantic3.d | 40 +- gcc/d/dmd/transitivevisitor.d | 73 +- gcc/d/dmd/typesem.d | 18 +- gcc/d/expr.cc | 33 +- gcc/d/runtime.def | 5 +- gcc/doc/install.texi | 9 + gcc/doc/invoke.texi | 9 +- gcc/doc/sourcebuild.texi | 2 +- gcc/fortran/ChangeLog | 66 + gcc/fortran/trans-expr.cc | 83 +- gcc/fortran/trans.h | 3 +- gcc/omp-low.cc | 19 +- gcc/range-op.cc | 18 + gcc/testsuite/ChangeLog | 119 + gcc/testsuite/c-c++-common/goacc/reduction-7.c | 22 + gcc/testsuite/c-c++-common/goacc/reduction-8.c | 12 + gcc/testsuite/c-c++-common/gomp/assume-1.c | 29 + gcc/testsuite/c-c++-common/gomp/assume-2.c | 46 + gcc/testsuite/c-c++-common/gomp/assume-3.c | 27 + gcc/testsuite/c-c++-common/gomp/assumes-1.c | 26 + gcc/testsuite/c-c++-common/gomp/assumes-2.c | 23 + gcc/testsuite/c-c++-common/gomp/assumes-3.c | 15 + gcc/testsuite/c-c++-common/gomp/assumes-4.c | 6 + gcc/testsuite/c-c++-common/gomp/begin-assumes-1.c | 46 + gcc/testsuite/c-c++-common/gomp/begin-assumes-2.c | 63 + gcc/testsuite/c-c++-common/gomp/begin-assumes-3.c | 2 + gcc/testsuite/c-c++-common/gomp/begin-assumes-4.c | 2 + gcc/testsuite/c-c++-common/gomp/declare-target-6.c | 2 + gcc/testsuite/g++.dg/cpp1z/constexpr-lambda13.C | 2 +- gcc/testsuite/g++.dg/cpp23/ext-floating.h | 30 + gcc/testsuite/g++.dg/cpp23/ext-floating1.C | 447 +++ gcc/testsuite/g++.dg/cpp23/ext-floating10.C | 13 + gcc/testsuite/g++.dg/cpp23/ext-floating2.C | 157 + gcc/testsuite/g++.dg/cpp23/ext-floating3.C | 134 + gcc/testsuite/g++.dg/cpp23/ext-floating4.C | 126 + gcc/testsuite/g++.dg/cpp23/ext-floating5.C | 13 + gcc/testsuite/g++.dg/cpp23/ext-floating6.C | 30 + gcc/testsuite/g++.dg/cpp23/ext-floating7.C | 119 + gcc/testsuite/g++.dg/cpp23/ext-floating8.C | 13 + gcc/testsuite/g++.dg/cpp23/ext-floating9.C | 13 + gcc/testsuite/g++.dg/cpp23/feat-cxx2b.C | 10 +- gcc/testsuite/g++.dg/cpp23/static-operator-call1.C | 41 + gcc/testsuite/g++.dg/cpp23/static-operator-call2.C | 22 + gcc/testsuite/g++.dg/cpp23/static-operator-call3.C | 10 + gcc/testsuite/g++.dg/cpp2a/char8_t3.C | 37 + gcc/testsuite/g++.dg/cpp2a/char8_t4.C | 17 + gcc/testsuite/g++.dg/cpp2a/constinit3.C | 2 +- gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C | 4 +- .../g++.dg/diagnostic/conflicting-specifiers-1.C | 2 +- .../g++.dg/ext/char8_t-feature-test-macro-2.C | 4 +- gcc/testsuite/g++.dg/ext/char8_t-init-2.C | 4 +- gcc/testsuite/g++.dg/ext/is_convertible3.C | 9 + gcc/testsuite/g++.dg/ext/is_nothrow_convertible3.C | 9 + gcc/testsuite/g++.dg/gomp/attrs-1.C | 15 +- gcc/testsuite/g++.dg/gomp/attrs-15.C | 41 + gcc/testsuite/g++.dg/gomp/attrs-16.C | 26 + gcc/testsuite/g++.dg/gomp/attrs-17.C | 17 + gcc/testsuite/g++.dg/gomp/attrs-2.C | 15 +- gcc/testsuite/g++.dg/gomp/attrs-9.C | 20 + gcc/testsuite/g++.dg/modules/partial-2.cc | 17 + gcc/testsuite/g++.dg/modules/partial-2.h | 38 + gcc/testsuite/g++.dg/modules/partial-2_a.C | 39 +- gcc/testsuite/g++.dg/modules/partial-2_b.C | 18 +- gcc/testsuite/g++.dg/modules/partial-2_c.H | 5 + gcc/testsuite/g++.dg/modules/partial-2_d.C | 8 + gcc/testsuite/g++.dg/other/mult-stor1.C | 2 +- gcc/testsuite/g++.dg/parse/crash39.C | 2 +- gcc/testsuite/g++.dg/parse/typedef8.C | 10 +- gcc/testsuite/g++.dg/template/error30.C | 2 +- gcc/testsuite/g++.dg/torture/pr107029.C | 19 + gcc/testsuite/g++.old-deja/g++.jason/operator.C | 2 +- gcc/testsuite/g++.target/i386/float16-1.C | 4 +- gcc/testsuite/gcc.dg/tree-ssa/popcount6.c | 12 + gcc/testsuite/gcc.dg/tree-ssa/pr107009.c | 15 + .../gcc.target/i386/avx256-unaligned-store-3.c | 2 +- gcc/testsuite/gcc.target/i386/pr53346-1.c | 70 + gcc/testsuite/gcc.target/i386/pr53346-2.c | 59 + gcc/testsuite/gcc.target/i386/pr53346-3.c | 69 + gcc/testsuite/gcc.target/i386/pr53346-4.c | 59 + gcc/testsuite/gcc.target/powerpc/pr100645.c | 13 + gcc/testsuite/gcc.target/powerpc/pr96072.c | 14 + gcc/testsuite/gcc.target/riscv/ret-1.c | 41 + gcc/testsuite/gdc.test/compilable/commontype.d | 20 +- .../gdc.test/compilable/imports/cimports2a.i | 4 + .../gdc.test/compilable/imports/cimports2b.i | 4 + .../gdc.test/compilable/imports/format23327.d | 7 + .../compilable/imports/format23327/write.d | 0 gcc/testsuite/gdc.test/compilable/segfaultgolf.d | 50 + .../gdc.test/compilable/statictemplatethis.d | 45 + gcc/testsuite/gdc.test/compilable/test13123.d | 38 + gcc/testsuite/gdc.test/compilable/test21243.d | 21 + gcc/testsuite/gdc.test/compilable/test21956.d | 16 + gcc/testsuite/gdc.test/compilable/test22674.d | 10 + gcc/testsuite/gdc.test/compilable/test23173.d | 6 + gcc/testsuite/gdc.test/compilable/test23258.d | 21 + gcc/testsuite/gdc.test/compilable/test23306.d | 7 + gcc/testsuite/gdc.test/compilable/test23327.d | 3 + gcc/testsuite/gdc.test/compilable/vararg.d | 20 + .../gdc.test/fail_compilation/diag10169.d | 2 +- .../gdc.test/fail_compilation/diag10783.d | 2 +- .../gdc.test/fail_compilation/diag13528.d | 6 +- .../gdc.test/fail_compilation/diag14145.d | 2 +- .../gdc.test/fail_compilation/diag15713.d | 2 +- .../gdc.test/fail_compilation/diag23355.d | 16 + gcc/testsuite/gdc.test/fail_compilation/diag3438.d | 5 +- .../gdc.test/fail_compilation/diag3438b.d | 9 - gcc/testsuite/gdc.test/fail_compilation/diag8894.d | 8 +- gcc/testsuite/gdc.test/fail_compilation/dip22a.d | 8 +- gcc/testsuite/gdc.test/fail_compilation/e15876_1.d | 15 +- gcc/testsuite/gdc.test/fail_compilation/e15876_3.d | 30 +- gcc/testsuite/gdc.test/fail_compilation/e15876_4.d | 26 +- .../gdc.test/fail_compilation/fail10968.d | 31 +- gcc/testsuite/gdc.test/fail_compilation/fail121.d | 4 +- .../gdc.test/fail_compilation/fail13123.d | 21 + .../gdc.test/fail_compilation/fail17646.d | 5 +- .../gdc.test/fail_compilation/fail18892.d | 4 +- .../gdc.test/fail_compilation/fail18970.d | 4 +- .../gdc.test/fail_compilation/fail18979.d | 2 +- .../gdc.test/fail_compilation/fail19103.d | 4 +- .../gdc.test/fail_compilation/fail19687.d | 2 +- .../gdc.test/fail_compilation/fail19913.d | 2 +- .../gdc.test/fail_compilation/fail21243.d | 19 + .../gdc.test/fail_compilation/fail23109.d | 4 +- gcc/testsuite/gdc.test/fail_compilation/fail7372.d | 13 + .../gdc.test/fail_compilation/faildottypeinfo.d | 2 +- .../gdc.test/fail_compilation/failoffset.d | 2 +- gcc/testsuite/gdc.test/fail_compilation/ice10938.d | 2 +- gcc/testsuite/gdc.test/fail_compilation/ice12174.d | 2 +- gcc/testsuite/gdc.test/fail_compilation/ice15855.d | 24 +- gcc/testsuite/gdc.test/fail_compilation/ice18469.d | 2 +- gcc/testsuite/gdc.test/fail_compilation/ice19755.d | 2 +- .../gdc.test/fail_compilation/imports/fail7372.d | 9 + .../fail_compilation/misc_parser_err_cov1.d | 1 - .../gdc.test/fail_compilation/mixinprop.d | 13 + .../gdc.test/fail_compilation/test15785.d | 2 +- .../gdc.test/fail_compilation/test15897.d | 2 +- .../gdc.test/fail_compilation/test16188.d | 2 +- .../gdc.test/fail_compilation/test17380spec.d | 2 +- .../gdc.test/fail_compilation/test21096.d | 6 +- .../gdc.test/fail_compilation/test22680.d | 17 + gcc/testsuite/gdc.test/runnable/newaa.d | 23 + gcc/testsuite/gdc.test/runnable/test23234.d | 22 + gcc/testsuite/gdc.test/runnable/testassign.d | 16 + gcc/testsuite/gfortran.dg/intent_optimize_10.f90 | 66 + gcc/testsuite/gfortran.dg/intent_optimize_4.f90 | 43 + gcc/testsuite/gfortran.dg/intent_optimize_5.f90 | 24 + gcc/testsuite/gfortran.dg/intent_optimize_6.f90 | 34 + gcc/testsuite/gfortran.dg/intent_optimize_7.f90 | 45 + gcc/testsuite/gfortran.dg/intent_optimize_8.f90 | 45 + gcc/testsuite/gfortran.dg/intent_optimize_9.f90 | 42 + gcc/testsuite/gfortran.dg/intent_out_15.f90 | 27 + gcc/tree-core.h | 4 + gcc/tree-ssa-dom.cc | 35 +- gcc/tree-ssa-reassoc.cc | 21 +- gcc/tree.cc | 1 + gcc/tree.h | 4 + gcc/value-range.cc | 22 +- gcc/value-range.h | 9 + include/demangle.h | 14 + include/dwarf2.h | 10 + libcpp/expr.cc | 1 - libgcc/ChangeLog | 5 + libgcc/unwind-dw2-fde.c | 4 +- libgomp/ChangeLog | 5 + libiberty/cp-demangle.c | 100 +- libiberty/cp-demangle.h | 2 +- libiberty/testsuite/demangle-expected | 8 +- libphobos/libdruntime/MERGE | 2 +- libphobos/libdruntime/Makefile.am | 10 +- libphobos/libdruntime/Makefile.in | 21 +- libphobos/libdruntime/__builtins.di | 2 +- libphobos/libdruntime/core/demangle.d | 250 +- .../libdruntime/core/internal/array/arrayassign.d | 148 + libphobos/libdruntime/core/internal/dassert.d | 2 +- libphobos/libdruntime/core/internal/utf.d | 21 +- libphobos/libdruntime/core/simd.d | 2 +- libphobos/libdruntime/core/stdc/fenv.d | 2 +- libphobos/libdruntime/core/stdc/math.d | 11 +- .../libdruntime/core/sys/darwin/mach/loader.d | 2 +- libphobos/libdruntime/core/sys/linux/fcntl.d | 2 +- libphobos/libdruntime/core/sys/posix/dlfcn.d | 4 +- libphobos/libdruntime/core/sys/posix/mqueue.d | 4 +- libphobos/libdruntime/core/sys/posix/setjmp.d | 16 + libphobos/libdruntime/core/sys/posix/stdlib.d | 20 +- libphobos/libdruntime/core/sys/posix/sys/types.d | 12 + .../libdruntime/core/sys/windows/stacktrace.d | 3 +- libphobos/libdruntime/core/time.d | 2 +- libphobos/libdruntime/object.d | 3 +- libphobos/libdruntime/rt/arrayassign.d | 60 - libphobos/libdruntime/rt/lifetime.d | 60 - libphobos/src/MERGE | 2 +- libphobos/src/Makefile.am | 8 +- libphobos/src/Makefile.in | 14 +- libphobos/src/index.dd | 4 - libphobos/src/std/algorithm/comparison.d | 20 +- libphobos/src/std/algorithm/iteration.d | 17 + libphobos/src/std/algorithm/searching.d | 76 +- libphobos/src/std/algorithm/sorting.d | 4 +- libphobos/src/std/compiler.d | 2 +- libphobos/src/std/concurrency.d | 7 +- libphobos/src/std/container/array.d | 31 +- libphobos/src/std/container/dlist.d | 2 +- libphobos/src/std/conv.d | 15 +- libphobos/src/std/datetime/stopwatch.d | 2 +- libphobos/src/std/datetime/timezone.d | 3 +- libphobos/src/std/digest/crc.d | 8 +- libphobos/src/std/digest/digest.d | 3 - .../allocator/building_blocks/affix_allocator.d | 4 +- .../allocator/building_blocks/aligned_block_list.d | 10 +- .../allocator/building_blocks/allocator_list.d | 20 +- .../allocator/building_blocks/fallback_allocator.d | 14 +- .../allocator/building_blocks/free_list.d | 4 +- .../allocator/building_blocks/free_tree.d | 4 +- .../allocator/building_blocks/quantizer.d | 8 +- .../allocator/building_blocks/region.d | 1111 ++++--- .../allocator/building_blocks/scoped_allocator.d | 6 +- .../allocator/building_blocks/segregator.d | 8 +- .../allocator/building_blocks/stats_collector.d | 8 +- libphobos/src/std/experimental/allocator/package.d | 14 +- libphobos/src/std/file.d | 2 +- libphobos/src/std/format/package.d | 2 +- libphobos/src/std/internal/math/gammafunction.d | 2 +- libphobos/src/std/logger/core.d | 21 +- libphobos/src/std/net/curl.d | 8 +- libphobos/src/std/numeric.d | 4 +- libphobos/src/std/path.d | 29 +- libphobos/src/std/range/primitives.d | 13 +- libphobos/src/std/socket.d | 4 +- libphobos/src/std/stdio.d | 5 +- libphobos/src/std/sumtype.d | 47 - libphobos/src/std/typecons.d | 40 + libphobos/src/std/uni/package.d | 2 +- libphobos/src/std/utf.d | 2 +- libphobos/src/std/xml.d | 3113 -------------------- libstdc++-v3/ChangeLog | 39 + libstdc++-v3/include/bits/alloc_traits.h | 4 +- libstdc++-v3/include/bits/ptr_traits.h | 47 +- libstdc++-v3/include/bits/std_function.h | 25 +- libstdc++-v3/include/experimental/type_traits | 24 +- libstdc++-v3/include/std/bitset | 5 +- libstdc++-v3/include/std/future | 4 +- libstdc++-v3/include/std/type_traits | 54 +- libstdc++-v3/testsuite/17_intro/names.cc | 1 + libstdc++-v3/testsuite/20_util/bitset/107037.cc | 7 + .../20_util/function/cons/deduction_c++23.cc | 23 + .../testsuite/20_util/pointer_traits/lwg3545.cc | 17 + .../packaged_task/cons/deduction_c++23.cc | 23 + 362 files changed, 8797 insertions(+), 7174 deletions(-)