From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id DAE503857827; Wed, 13 Apr 2022 00:17:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAE503857827 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-8126] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 3c742621ed28540cf42d4cfbc2bf03433cd26738 X-Git-Newrev: 504dae1d379c8f2488bb9d1aa68af27177e714d8 Message-Id: <20220413001715.DAE503857827@sourceware.org> Date: Wed, 13 Apr 2022 00:17:15 +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: Wed, 13 Apr 2022 00:17:16 -0000 https://gcc.gnu.org/g:504dae1d379c8f2488bb9d1aa68af27177e714d8 commit r12-8126-g504dae1d379c8f2488bb9d1aa68af27177e714d8 Author: GCC Administrator Date: Wed Apr 13 00:16:34 2022 +0000 Daily bump. Diff: --- gcc/ChangeLog | 134 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 28 ++++++++++ gcc/jit/ChangeLog | 99 +++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 89 ++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 49 ++++++++++++++++++ 6 files changed, 400 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7edfcb64c0b..a8cb3803e81 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,137 @@ +2022-04-12 Antoni Boucher + + PR jit/104072 + * reginfo.cc: New functions (clear_global_regs_cache, + reginfo_cc_finalize) to avoid an issue where compiling the same + code multiple times gives an error about assigning the same + register to 2 global variables. + * rtl.h: New function (reginfo_cc_finalize). + * toplev.cc: Call it. + +2022-04-12 Antoni Boucher + + PR jit/104071 + * toplev.cc: Call the new function tree_cc_finalize in + toplev::finalize. + * tree.cc: New functions (clear_nonstandard_integer_type_cache + and tree_cc_finalize) to clear the cache of non-standard integer + types to avoid having issues with some optimizations of + bitcast where the SSA_NAME will have a size of a cached + integer type that should have been invalidated, causing a + comparison of integer constant to fail. + * tree.h: New function (tree_cc_finalize). + +2022-04-12 Thomas Schwinge + + PR target/97348 + * config/nvptx/nvptx.h (ASM_SPEC): Don't set. + * config/nvptx/nvptx.opt (misa): Adjust comment. + +2022-04-12 Thomas Schwinge + + Revert: + 2022-03-03 Tom de Vries + + * config/nvptx/nvptx.h (ASM_SPEC): Add %{misa=sm_30:--no-verify}. + +2022-04-12 Thomas Schwinge + + Revert: + 2022-03-31 Tom de Vries + + * config/nvptx/nvptx.h (ASM_SPEC): Use "-m sm_35" for -misa=sm_30. + +2022-04-12 Richard Biener + + PR ipa/104303 + * tree-ssa-dce.cc (mark_stmt_if_obviously_necessary): Do not + include local escaped memory as obviously necessary stores. + +2022-04-12 Richard Biener + + PR tree-optimization/105235 + * tree-ssa-math-opts.cc (execute_cse_conv_1): Clean EH and + return whether the CFG changed. + (execute_cse_sincos_1): Adjust. + +2022-04-12 Przemyslaw Wirkus + + PR target/104144 + * config/arm/t-aprofile (MULTI_ARCH_OPTS_A): Remove Armv9-a options. + (MULTI_ARCH_DIRS_A): Remove Armv9-a diretories. + (MULTILIB_REQUIRED): Don't require Armv9-a libraries. + (MULTILIB_MATCHES): Treat Armv9-a as equivalent to Armv8-a. + (MULTILIB_REUSE): Remove remap rules for Armv9-a. + * config/arm/t-multilib (v9_a_nosimd_variants): Delete. + (MULTILIB_MATCHES): Remove mappings for v9_a_nosimd_variants. + +2022-04-12 Richard Biener + + PR tree-optimization/105232 + * tree.cc (component_ref_size): Bail out for too large + or non-constant sizes. + +2022-04-12 Richard Biener + + PR tree-optimization/105226 + * tree-vect-loop-manip.cc (vect_loop_versioning): Verify + we can split the exit of an outer loop we choose to version. + +2022-04-12 Jakub Jelinek + + * config/i386/i386-expand.cc (ix86_emit_i387_sinh, ix86_emit_i387_cosh, + ix86_emit_i387_tanh, ix86_emit_i387_asinh, ix86_emit_i387_acosh, + ix86_emit_i387_atanh, ix86_emit_i387_log1p, ix86_emit_i387_round, + ix86_emit_swdivsf, ix86_emit_swsqrtsf, + ix86_expand_atomic_fetch_op_loop, ix86_expand_cmpxchg_loop): + Formatting fix. + * config/i386/i386.cc (warn_once_call_ms2sysv_xlogues): Likewise. + +2022-04-12 Jakub Jelinek + + PR target/105214 + * config/i386/i386-expand.cc (ix86_emit_i387_log1p): Call + do_pending_stack_adjust. + +2022-04-12 Jakub Jelinek + + PR rtl-optimization/105211 + * builtins.cc (expand_builtin_int_roundingfn_2): If mathfn_built_in_1 + fails for TREE_TYPE (arg), retry it with + TREE_VALUE (TYPE_ARG_TYPES (TREE_TYPE (fndecl))) and if even that + fails, emit call normally. + +2022-04-12 Andreas Krebbel + + * common/config/s390/s390-common.cc: Rename PF_ARCH14 to PF_Z16. + * config.gcc: Add z16 as march/mtune switch. + * config/s390/driver-native.cc (s390_host_detect_local_cpu): + Recognize z16 with -march=native. + * config/s390/s390-opts.h (enum processor_type): Rename + PROCESSOR_ARCH14 to PROCESSOR_3931_Z16. + * config/s390/s390.cc (PROCESSOR_ARCH14): Rename to ... + (PROCESSOR_3931_Z16): ... throughout the file. + (s390_processor processor_table): Add z16 as cpu string. + * config/s390/s390.h (enum processor_flags): Rename PF_ARCH14 to + PF_Z16. + (TARGET_CPU_ARCH14): Rename to ... + (TARGET_CPU_Z16): ... this. + (TARGET_CPU_ARCH14_P): Rename to ... + (TARGET_CPU_Z16_P): ... this. + (TARGET_ARCH14): Rename to ... + (TARGET_Z16): ... this. + (TARGET_ARCH14_P): Rename to ... + (TARGET_Z16_P): ... this. + * config/s390/s390.md (cpu_facility): Rename arch14 to z16 and + check TARGET_Z16 instead of TARGET_ARCH14. + * config/s390/s390.opt: Add z16 to processor_type. + * doc/invoke.texi: Document z16 and arch14. + +2022-04-12 chenglulu + + * config/loongarch/loongarch.cc: Fix bug for + tmpdir-g++.dg-struct-layout-1/t033. + 2022-04-11 Peter Bergner PR target/104894 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index abfb32ab33c..e49fcfa3030 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220412 +20220413 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5eddfdcd398..10da74032d8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,31 @@ +2022-04-12 Jason Merrill + + PR c++/104669 + * decl.cc (decls_match): Compare versions even if not recording. + (duplicate_decls): Propagate attributes to alias. + * decl2.cc (find_last_decl): Give up if versioned. + +2022-04-12 Jason Merrill + + PR c++/102071 + * init.cc (build_new_1): Check array_p for alignment. + +2022-04-12 Patrick Palka + + PR c++/103105 + * pt.cc (build_extra_args): Call preserve_args. + +2022-04-12 Jason Merrill + + PR c++/104142 + * decl.cc (check_initializer): Check TREE_SIDE_EFFECTS. + +2022-04-12 Jason Merrill + + PR c++/105223 + PR c++/92918 + * class.cc (finish_struct): Always using op=. + 2022-04-11 Jason Merrill PR c++/98249 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 78135db7d74..8c895c28835 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,102 @@ +2022-04-12 Antoni Boucher + + PR jit/104293 + * docs/_build/texinfo/libgccjit.texi: Regenerate. + * docs/topics/compatibility.rst (LIBGCCJIT_ABI_24): New ABI tag. + * docs/topics/expressions.rst: Add documentation for the + functions gcc_jit_lvalue_set_alignment and + gcc_jit_lvalue_get_alignment. + * jit-playback.h: New function (set_alignment). + * jit-recording.cc: New function (set_alignment). + * jit-recording.h: New functions (set_alignment, get_alignment) + and new field (m_alignment). + * libgccjit.cc: New functions (gcc_jit_lvalue_get_alignment, + gcc_jit_lvalue_set_alignment) + * libgccjit.h: New functions (gcc_jit_lvalue_get_alignment, + gcc_jit_lvalue_set_alignment) + * libgccjit.map (LIBGCCJIT_ABI_24): New ABI tag. + +2022-04-12 Antoni Boucher + + PR jit/104073 + * docs/_build/texinfo/libgccjit.texi: Regenerate. + * docs/topics/compatibility.rst (LIBGCCJIT_ABI_23): New ABI tag. + * docs/topics/contexts.rst: Add documentation for the new + function gcc_jit_context_set_bool_print_errors_to_stderr. + * jit-common.h: New enum value + (INNER_BOOL_OPTION_PRINT_ERRORS_TO_STDERR). + * jit-recording.cc: Handle the new option + INNER_BOOL_OPTION_PRINT_ERRORS_TO_STDERR. + * libgccjit.cc: New function + (gcc_jit_context_set_bool_print_errors_to_stderr). + * libgccjit.h: New function + (gcc_jit_context_set_bool_print_errors_to_stderr). + * libgccjit.map (LIBGCCJIT_ABI_23): New ABI tag. + +2022-04-12 Antoni Boucher + + PR jit/104072 + * docs/_build/texinfo/libgccjit.texi: Regenerate. + * docs/topics/compatibility.rst (LIBGCCJIT_ABI_22): New ABI tag. + * docs/topics/expressions.rst: Add documentation for the + function gcc_jit_lvalue_set_register_name. + * jit-playback.h: New function (set_register_name). + * jit-recording.cc: New function (set_register_name) and add + support for register variables. + * jit-recording.h: New field (m_reg_name) and new function + (set_register_name). + * libgccjit.cc: New function (gcc_jit_lvalue_set_register_name). + * libgccjit.h: New function (gcc_jit_lvalue_set_register_name). + * libgccjit.map (LIBGCCJIT_ABI_22): New ABI tag. + +2022-04-12 Antoni Boucher + + PR jit/104071 + * docs/_build/texinfo/libgccjit.texi: Regenerate. + * docs/topics/compatibility.rst (LIBGCCJIT_ABI_21): New ABI tag. + * docs/topics/expressions.rst: Add documentation for the + function gcc_jit_context_new_bitcast. + * jit-playback.cc: New function (new_bitcast). + * jit-playback.h: New function (new_bitcast). + * jit-recording.cc: New functions (new_bitcast, + bitcast::replay_into, bitcast::visit_children, + bitcast::make_debug_string, bitcast::write_reproducer). + * jit-recording.h: New class (bitcast) and new function + (new_bitcast, bitcast::replay_into, bitcast::visit_children, + bitcast::make_debug_string, bitcast::write_reproducer, + bitcast::get_precedence). + * libgccjit.cc: New function (gcc_jit_context_new_bitcast) + * libgccjit.h: New function (gcc_jit_context_new_bitcast) + * libgccjit.map (LIBGCCJIT_ABI_21): New ABI tag. + +2022-04-12 Antoni Boucher + + PR target/95325 + * docs/_build/texinfo/libgccjit.texi: Regenerate + * docs/topics/compatibility.rst (LIBGCCJIT_ABI_20): New ABI tag. + * docs/topics/types.rst: Add documentation for the new types + GCC_JIT_TYPE_UINT8_T, GCC_JIT_TYPE_UINT16_T, + GCC_JIT_TYPE_UINT32_T, GCC_JIT_TYPE_UINT64_T, + GCC_JIT_TYPE_UINT128_T, GCC_JIT_TYPE_INT8_T, GCC_JIT_TYPE_INT16_T, + GCC_JIT_TYPE_INT32_T, GCC_JIT_TYPE_INT64_T, GCC_JIT_TYPE_INT128_T and + new functions (gcc_jit_compatible_types, gcc_jit_type_get_size). + * jit-builtins.cc: Add support for BT_UINT128. + * jit-common.h: Update the value of NUM_GCC_JIT_TYPES. + * jit-playback.cc: Add support for the sized integer types. + * jit-recording.cc: Add support for the sized integer types. + * jit-recording.h: Add support for comparing integer types + and new function (is_signed). + * libgccjit.cc (gcc_jit_compatible_types): New. + (gcc_jit_type_get_size) New. + * libgccjit.h: New enum variants for gcc_jit_types + (GCC_JIT_TYPE_UINT8_T, GCC_JIT_TYPE_UINT16_T, + GCC_JIT_TYPE_UINT32_T, GCC_JIT_TYPE_UINT64_T, + GCC_JIT_TYPE_UINT128_T, GCC_JIT_TYPE_INT8_T, + GCC_JIT_TYPE_INT16_T, GCC_JIT_TYPE_INT32_T, + GCC_JIT_TYPE_INT64_T, GCC_JIT_TYPE_INT128_T) and new functions + (gcc_jit_compatible_types, gcc_jit_type_get_size). + * libgccjit.map (LIBGCCJIT_ABI_20): New ABI tag. + 2022-04-06 David Malcolm PR jit/102824 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2a401d45873..9ab7a178bf8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,92 @@ +2022-04-12 Antoni Boucher + + PR jit/104293 + * jit.dg/all-non-failing-tests.h: Mention + test-setting-alignment. + * jit.dg/test-setting-alignment.c: New test. + +2022-04-12 Antoni Boucher + + PR jit/104072 + * jit.dg/all-non-failing-tests.h: Add new + test-register-variable. + * jit.dg/harness.h: Add -fdiagnostics-color=never to context's + command-line options. + * jit.dg/test-error-register-variable-bad-name.c: New test. + * jit.dg/test-error-register-variable-size-mismatch.c: New test. + * jit.dg/test-register-variable.c: New test. + +2022-04-12 Antoni Boucher + + PR jit/104071 + * jit.dg/all-non-failing-tests.h: Add new test-bitcast. + * jit.dg/test-bitcast.c: New test. + * jit.dg/test-error-bad-bitcast.c: New test. + * jit.dg/test-error-bad-bitcast2.c: New test. + +2022-04-12 Antoni Boucher + + PR target/95325 + * jit.dg/test-types.c: Add tests for sized integer types. + +2022-04-12 Jason Merrill + + PR c++/104669 + * g++.target/i386/mv31.C: New test. + +2022-04-12 Jason Merrill + + PR c++/102071 + * g++.dg/cpp1z/aligned-new9.C: Add single-object test. + +2022-04-12 Patrick Palka + + PR c++/103105 + * g++.dg/cpp2a/concepts-requires29.C: New test. + * g++.dg/cpp2a/concepts-requires29a.C: New test. + +2022-04-12 Richard Earnshaw + + PR target/101755 + * gcc.target/arm/reg_equal_test.c: Convert to gimple test. Restrict + to architectures with MOVW/MOVT. + +2022-04-12 Richard Biener + + PR tree-optimization/105235 + * g++.dg/opt/pr105235-1.C: New testcase. + +2022-04-12 Przemyslaw Wirkus + + PR target/104144 + * gcc.target/arm/multilib.exp: Updated tests. + +2022-04-12 Richard Biener + + PR tree-optimization/105226 + * gcc.dg/pr105226.c: New testcase. + +2022-04-12 Jakub Jelinek + + PR target/105214 + * gcc.dg/asan/pr105214.c: New test. + +2022-04-12 Jakub Jelinek + + PR rtl-optimization/105211 + * gcc.dg/pr105211.c: New test. + +2022-04-12 Jason Merrill + + PR c++/104142 + * g++.dg/opt/const7.C: New test. + +2022-04-12 Jason Merrill + + PR c++/105223 + PR c++/92918 + * g++.dg/template/using31.C: New test. + 2022-04-11 Peter Bergner PR target/104894 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f0299ad027b..d5dcdedbde5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,52 @@ +2022-04-12 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ENABLE_BACKTRACE): Check for mmap. + * config.h.in: Regenerate. + * configure: Regenerate. + +2022-04-12 Jonathan Wakely + + * include/std/stacktrace (basic_stacktrace::current): Reallocate + a smaller container if the unused capacity is larger than the + used size. + +2022-04-12 Jonathan Wakely + + * include/std/stacktrace (basic_stacktrace): Use _Impl::_M_clone + or _Impl::_M_assign to initialize elements in allocated storage. + (basic_stacktrace::_M_clear()): Use _Impl::_M_resize instead of + _Impl::_M_destroy. + (basic_stacktrace::_Impl::_M_destroy()): Replace with ... + (basic_stacktrace::_Impl::_M_resize(size_type, allocator&)): New + function. + (basic_stacktrace::_Impl::_M_push_back): Use _M_xclone. Construct + new element using allocator. + (basic_stacktrace::_Impl::_M_clone): New function. + (basic_stacktrace::_Impl::_M_xclone): New function. + (basic_stacktrace::_Impl::_M_assign): New function. + +2022-04-12 Jonathan Wakely + + * include/std/stacktrace (basic_stacktrace::_Impl::_M_allocate): + Use nothrow new instead of try block for std::allocator. + (basic_stacktrace::_Impl::_M_deallocate): Use delete for + std::allocator. + +2022-04-12 Jonathan Wakely + + * include/std/stacktrace (basic_stacktrace::current): Replace + calls to _M_reserve and _S_curr_cb with call to _M_prepare. + Check return value of backtrace_simple when max depth given. + (basic_stacktrace::_M_reserve): Remove. + (basic_stacktrace::_S_curr_cb): Remove. + (basic_stacktrace::_M_prepare(size_type)): New function to + reserve initial capacity and return callback. + (basic_stacktrace::_Impl::_M_allocate): Remove check for 0 < n + and remove redundant zeroing of _M_frames and _M_capacity. + (basic_stacktrace::_Impl::_M_push_back): Add [[unlikely]] + attribute. Assign _Impl instead of swapping. + * testsuite/19_diagnostics/stacktrace/current.cc: New test. + 2022-04-11 Jonathan Wakely * include/std/stacktrace (basic_stacktrace::_Impl::_M_allocate):