From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id CD181385840B; Thu, 16 Dec 2021 00:17:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD181385840B MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-6009] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 06d5dcef72542baf49ac245cfde2ad7ecef0916b X-Git-Newrev: 8a89c39be01dbafc8cd77a48339c32c814495333 Message-Id: <20211216001705.CD181385840B@sourceware.org> Date: Thu, 16 Dec 2021 00:17:05 +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: Thu, 16 Dec 2021 00:17:05 -0000 https://gcc.gnu.org/g:8a89c39be01dbafc8cd77a48339c32c814495333 commit r12-6009-g8a89c39be01dbafc8cd77a48339c32c814495333 Author: GCC Administrator Date: Thu Dec 16 00:16:28 2021 +0000 Daily bump. Diff: --- ChangeLog | 32 +++++++++ config/ChangeLog | 8 +++ gcc/ChangeLog | 169 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 18 ++++++ gcc/d/ChangeLog | 6 ++ gcc/testsuite/ChangeLog | 85 ++++++++++++++++++++++++ libcc1/ChangeLog | 4 ++ libiberty/ChangeLog | 10 +++ libphobos/ChangeLog | 10 +++ libstdc++-v3/ChangeLog | 22 +++++++ zlib/ChangeLog | 4 ++ 12 files changed, 369 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0a48a1d74e4..bd01c44c47a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,35 @@ +2021-12-15 H.J. Lu + + * Makefile.tpl (BUILD_CFLAGS): New. + (CFLAGS): Append $(BUILD_CFLAGS). + (CXXFLAGS): Likewise. + (PGO_BUILD_GEN_FLAGS_TO_PASS): New. + (PGO_BUILD_TRAINING_CFLAGS): Likewise. + (PGO_BUILD_TRAINING_CXXFLAGS): Likewise. + (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise. + (PGO_BUILD_TRAINING_MFLAGS): Likewise. + (PGO_BUILD_USE_FLAGS_TO_PASS): Likewise. + (PGO-TRAINING-TARGETS): Likewise. + (PGO_BUILD_TRAINING): Likewise. + (all): Add '+' to the command line for recursive make. Support + the PGO build. + * configure.ac: Add --enable-pgo-build[=lto]. + AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and + PGO_BUILD_LTO_CFLAGS. Enable the PGO build in Makefile. + * Makefile.in: Regenerated. + * configure: Likewise. + +2021-12-15 H.J. Lu + + * Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@ + (RANLIB): Add @RANLIB_PLUGIN_OPTION@. + * configure.ac: Include config/gcc-plugin.m4. + AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION. + * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and + RANLIB if possible. + * Makefile.in: Regenerated. + * configure: Likewise. + 2021-12-14 Marc Poulhiès * MAINTAINERS: Add myself to write after approval. diff --git a/config/ChangeLog b/config/ChangeLog index eb768facb96..7c2d7548a15 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,11 @@ +2021-12-15 H.J. Lu + + * gcc-plugin.m4 (GCC_PLUGIN_OPTION): New. + +2021-12-15 Iain Sandoe + + * gcc-plugin.m4: Save and process CXXFLAGS. + 2021-11-30 Iain Buclaw * acx.m4 (ACX_PROG_GDC): New m4 function. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca2c5aee991..f2bd21bc4cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,172 @@ +2021-12-15 Iain Sandoe + + * configure: Regenerate. + +2021-12-15 Roger Sayle + + * config/nvptx/nvptx-opts.h (ptx_isa): PTX_ISA_SM75 and PTX_ISA_SM80 + ISA levels. + * config/nvptx/nvptx.opt: Add sm_75 and sm_80 to -misa. + * config/nvptx/nvptx.h (TARGET_SM75, TARGET_SM80): + New helper macros to conditionalize functionality on target ISA. + * config/nvptx/nvptx-c.c (nvptx_cpu_cpp_builtins): Add __PTX_SM__ + support for the new ISA levels. + * config/nvptx/nvptx.c (nvptx_file_start): Add support for TARGET_SM75 + and TARGET_SM80. + * config/nvptx/nvptx.md (define_c_enum "unspec"): New UNSPEC_TANH. + (define_mode_iterator HSFM): New iterator for HFmode and SFmode. + (exp2hf2): New define_insn controlled by TARGET_SM75. + (tanh2): New define_insn controlled by TARGET_SM75. + (sminhf3, smaxhf3): New define_isnns controlled by TARGET_SM80. + +2021-12-15 Tom de Vries + + * config/nvptx/nvptx-opts.h (enum ptx_version): Add PTX_VERSION_7_0. + * config/nvptx/nvptx.c (nvptx_file_start): Handle TARGET_PTX_7_0. + * config/nvptx/nvptx.h (TARGET_PTX_7_0): New macro. + * config/nvptx/nvptx.opt (ptx_version): Add 7.0. + +2021-12-15 Richard Sandiford + Tamar Christina + + PR target/103094 + * config/aarch64/aarch64.c (aarch64_short_vector_p): Return false + for structure modes, rather than ignoring the type in that case. + +2021-12-15 Tamar Christina + + PR rtl-optimization/103350 + * ree.c (add_removable_extension): Don't stop at first definition but + inspect all. + +2021-12-15 Jakub Jelinek + + PR debug/103619 + * dwarf2cfi.c (dwf_cfa_reg): Remove gcc_assert. + (operator==, operator!=): New overloaded operators. + (dwarf2out_frame_debug_adjust_cfa, dwarf2out_frame_debug_cfa_offset, + dwarf2out_frame_debug_expr): Compare vars with cfa_reg type directly + with REG rtxes rather than with dwf_cfa_reg results on those REGs. + (create_cie_data): Use stack_pointer_rtx instead of + gen_rtx_REG (Pmode, STACK_POINTER_REGNUM). + (execute_dwarf2_frame): Use hard_frame_pointer_rtx instead of + gen_rtx_REG (Pmode, HARD_FRAME_POINTER_REGNUM). + +2021-12-15 Martin Liska + + PR target/103661 + * config/i386/i386-builtins.c (fold_builtin_cpu): Compare to 0 + as API expects that non-zero values are returned (do that + it mask == 31). + For "avx512vbmi2" argument, we return now 1 << 31, which is a + negative integer value. + +2021-12-15 Haochen Jiang + + PR target/101796 + * config/i386/predicates.md (const_vector_operand): + Add new predicate. + * config/i386/sse.md(3): + Add new define_split below. + +2021-12-15 Michael Meissner + + * config/rs6000/rs6000.md (UNSPEC_XXSPLTIDP_CONST): New unspec. + (UNSPEC_XXSPLTIW_CONST): New unspec. + (movsf_hardfloat): Add support for generating XXSPLTIDP. + (mov_hardfloat32): Likewise. + (mov_hardfloat64): Likewise. + (xxspltidp__internal): New insns. + (xxspltiw__internal): New insns. + (splitters for SF/DFmode): Add new splitters for XXSPLTIDP. + +2021-12-15 Michael Meissner + + * config/rs6000/predicates.md (easy_fp_constant): Add support for + generating XXSPLTIDP. + (vsx_prefixed_constant): Likewise. + (easy_vector_constant): Likewise. + * config/rs6000/rs6000-protos.h (constant_generates_xxspltidp): + New declaration. + * config/rs6000/rs6000.c (output_vec_const_move): Add support for + generating XXSPLTIDP. + (prefixed_xxsplti_p): Likewise. + (constant_generates_xxspltidp): New function. + * config/rs6000/rs6000.opt (-msplat-float-constant): New debug option. + +2021-12-15 Michael Meissner + + * config/rs6000/constraints.md (eP): Update comment. + * config/rs6000/predicates.md (easy_fp_constant): Add support for + generating XXSPLTIW. + (vsx_prefixed_constant): New predicate. + (easy_vector_constant): Add support for + generating XXSPLTIW. + * config/rs6000/rs6000-protos.h (prefixed_xxsplti_p): New + declaration. + (constant_generates_xxspltiw): Likewise. + * config/rs6000/rs6000.c (xxspltib_constant_p): Generate XXSPLTIW + if possible instead of XXSPLTIB and sign extending the constant. + (output_vec_const_move): Add support for XXSPLTIW. + (prefixed_xxsplti_p): New function. + (constant_generates_xxspltiw): New function. + * config/rs6000/rs6000.md (prefixed attribute): Add support to + mark XXSPLTI* instructions as being prefixed. + * config/rs6000/rs6000.opt (-msplat-word-constant): New debug + switch. + * config/rs6000/vsx.md (vsx_mov_64bit): Add support for + generating XXSPLTIW or XXSPLTIDP. + (vsx_mov_32bit): Likewise. + * doc/md.texi (PowerPC and IBM RS6000 constraints): Document the + eP constraint. + +2021-12-15 Michael Meissner + + * config/rs6000/constraints.md (eQ): New constraint. + * config/rs6000/predicates.md (easy_fp_constant): Add support for + generating the LXVKQ instruction. + (easy_vector_constant_ieee128): New predicate. + (easy_vector_constant): Add support for generating the LXVKQ + instruction. + * config/rs6000/rs6000-protos.h (constant_generates_lxvkq): New + declaration. + * config/rs6000/rs6000.c (output_vec_const_move): Add support for + generating LXVKQ. + (constant_generates_lxvkq): New function. + * config/rs6000/rs6000.opt (-mieee128-constant): New debug + option. + * config/rs6000/vsx.md (vsx_mov_64bit): Add support for + generating LXVKQ. + (vsx_mov_32bit): Likewise. + * doc/md.texi (PowerPC and IBM RS6000 constraints): Document the + eQ constraint. + +2021-12-15 Michael Meissner + + * config/rs6000/rs6000-protos.h (VECTOR_128BIT_BITS): New macro. + (VECTOR_128BIT_BYTES): Likewise. + (VECTOR_128BIT_HALF_WORDS): Likewise. + (VECTOR_128BIT_WORDS): Likewise. + (VECTOR_128BIT_DOUBLE_WORDS): Likewise. + (vec_const_128bit_type): New structure type. + (vec_const_128bit_to_bytes): New declaration. + * config/rs6000/rs6000.c (constant_int_to_128bit_vector): New + helper function. + (constant_fp_to_128bit_vector): New helper function. + (vec_const_128bit_to_bytes): New function. + +2021-12-15 Alexandre Oliva + + PR target/100518 + * builtins.c (try_store_by_multiple_pieces): Drop address + conversion to ptr_mode. + +2021-12-15 Alexandre Oliva + + PR middle-end/100843 + * builtins.c (try_store_by_multiple_pieces): Fail if min_len + is greater than max_len. + 2021-12-14 liuhongt PR target/103682 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c11bfa65202..4f5ebad187c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20211215 +20211216 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c72be7d0604..e42770179f2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,21 @@ +2021-12-15 Marek Polacek + + PR c++/102229 + * decl.c (check_decltype_auto): New. + (grokdeclarator): Call it. + * pt.c (do_auto_deduction): Don't check decltype(auto) here. + +2021-12-15 Martin Liska + + PR c++/103713 + * tree.c (maybe_warn_parm_abi): Fix warning word splitting. + +2021-12-15 Jakub Jelinek + + PR c++/103704 + * semantics.c (finish_omp_target_clauses_r): For OMP_CLAUSEs + just walk subtrees. + 2021-12-14 Patrick Palka PR c++/103408 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 91b3d7cf796..8bc711f47b0 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,9 @@ +2021-12-15 Iain Buclaw + + * d-lang.cc (d_init_options): Set default -fextern-std= to C++17. + * dmd/MERGE: Merge upstream dmd 93108bb9e. + * gdc.texi (Runtime Options): Document the default for -fextern-std=. + 2021-12-10 Iain Buclaw PR d/103529 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3dffea873e5..a38eac672cc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,88 @@ +2021-12-15 Marek Polacek + + PR c++/102229 + * g++.dg/cpp1y/decltype-auto5.C: New test. + +2021-12-15 Thomas Schwinge + + * lib/fortran-torture.exp (fortran-torture-compile) + (fortran-torture-execute): Be more informative for ICEs. + * lib/gcc-defs.exp (${tool}_check_compile): Likewise. + * lib/gcc-dg.exp (gcc-dg-test-1): Likewise. + * lib/go-torture.exp (go-torture-compile, go-torture-execute): + Likewise. + +2021-12-15 Martin Sebor + + PR tree-optimization/78969 + * gcc.dg/tree-ssa/builtin-snprintf-warn-6.c: New test. + +2021-12-15 Roger Sayle + + * gcc.target/nvptx/float16-2.c: New test case. + * gcc.target/nvptx/tanh-1.c: New test case. + +2021-12-15 Richard Sandiford + Tamar Christina + + PR target/103094 + * gcc.target/aarch64/pr103094.c: New test. + +2021-12-15 Tamar Christina + + PR rtl-optimization/103350 + * gcc.target/aarch64/pr103350-1.c: New test. + * gcc.target/aarch64/pr103350-2.c: New test. + +2021-12-15 Jakub Jelinek + + PR c++/103408 + * g++.dg/cpp23/auto-fncast11.C: Fix expected diagnostic wording. + +2021-12-15 Jakub Jelinek + + PR c++/103704 + * g++.dg/gomp/pr103704.C: New test. + +2021-12-15 Haochen Jiang + + PR target/101796 + * gcc.target/i386/pr101796-1.c: New test. + +2021-12-15 Michael Meissner + + * gcc.target/powerpc/vec-splat-constant-df.c: New test. + * gcc.target/powerpc/vec-splat-constant-sf.c: New test. + +2021-12-15 Michael Meissner + + * gcc.target/powerpc/pr86731-fwrapv-longlong.c: Update insn + regex for power10. + * gcc.target/powerpc/vec-splat-constant-v2df.c: New test. + * gcc.target/powerpc/vec-splat-constant-v2di.c: New test. + +2021-12-15 Michael Meissner + + * gcc.target/powerpc/vec-splat-constant-v16qi.c: New test. + * gcc.target/powerpc/vec-splat-constant-v4sf.c: New test. + * gcc.target/powerpc/vec-splat-constant-v4si.c: New test. + * gcc.target/powerpc/vec-splat-constant-v8hi.c: New test. + * gcc.target/powerpc/vec-splati-runnable.c: Update insn count. + +2021-12-15 Michael Meissner + + * gcc.target/powerpc/float128-constant.c: New test. + +2021-12-15 Alexandre Oliva + + PR target/100518 + * gcc.target/aarch64/pr100518.c: New. + +2021-12-15 Alexandre Oliva + + PR middle-end/100843 + * gcc.dg/pr100843.c: New. + 2021-12-14 liuhongt * gcc.c-torture/compile/pr103682.c: New test. diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index f500fdbdd1a..ddf28268a4c 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,7 @@ +2021-12-15 Iain Sandoe + + * configure: Regenerate. + 2021-08-17 Iain Sandoe * Makefile.am: Switch mdynamic-no-pic to fPIC. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 6793eeb5b3c..e1102eafd85 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,13 @@ +2021-12-15 H.J. Lu + + * Makefile.in (AR): Add @AR_PLUGIN_OPTION@ + (RANLIB): Add @RANLIB_PLUGIN_OPTION@. + (configure_deps): Depend on ../config/gcc-plugin.m4. + * configure.ac: AC_SUBST AR_PLUGIN_OPTION and + RANLIB_PLUGIN_OPTION. + * aclocal.m4: Regenerated. + * configure: Likewise. + 2021-11-29 Eric Gallager PR other/103021 diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index ca647c5fedd..e07738f5b74 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,13 @@ +2021-12-15 Iain Buclaw + + PR d/103604 + * configure: Regenerate. + * configure.ac (libtool_VERSION): Update to 3:0:0. + * libdruntime/MERGE: Merge upstream druntime 6364e010. + * src/MERGE: Merge upstream phobos 575b67a9b. + * testsuite/libphobos.traits/all_satisfy.d: New test. + * testsuite/libphobos.traits/traits.exp: New test. + 2021-12-10 Iain Buclaw PR d/103528 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7fd18645d34..7e046650714 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,25 @@ +2021-12-15 François Dumont + + * include/bits/stl_iterator.h + (std::pointer_traits<__gnu_cxx::__normal_iterator<>>): Remove. + (std::__to_address(const __gnu_cxx::__normal_iterator<>&)): New for C++11 to C++17. + * include/debug/safe_iterator.h + (std::__to_address(const __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<>, + _Sequence>&)): New for C++11 to C++17. + * testsuite/24_iterators/normal_iterator/to_address.cc: Add check on std::vector::iterator + to validate both __gnu_cxx::__normal_iterator<> __to_address overload in normal mode and + __gnu_debug::_Safe_iterator in _GLIBCXX_DEBUG mode. + +2021-12-15 Jakub Jelinek + + PR libstdc++/71557 + * include/bits/locale_facets_nonio.tcc (_M_extract_via_format): + Compare characters other than format specifiers and whitespace + case insensitively. + (_M_extract_name): Compare characters case insensitively. + * testsuite/22_locale/time_get/get/char/71557.cc: New test. + * testsuite/22_locale/time_get/get/wchar_t/71557.cc: New test. + 2021-12-14 Jonathan Wakely PR libstdc++/103687 diff --git a/zlib/ChangeLog b/zlib/ChangeLog index 106dc97e724..c5448427a90 100644 --- a/zlib/ChangeLog +++ b/zlib/ChangeLog @@ -1,3 +1,7 @@ +2021-12-15 H.J. Lu + + * configure: Regenerated. + 2021-01-05 Samuel Thibault * configure: Re-generate.