From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 9B790385AC2E; Thu, 20 Oct 2022 00:18:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B790385AC2E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666225110; bh=ArVwv8aDOM0GKe/S/FgBGhUCaA3tc/4aGQY9i4oW91U=; h=From:To:Subject:Date:From; b=UBIZWnOa9uqAJbhwTr6xoY9ZGg+C38w/uEaGxVPhkci0UNNr+ytuCb8E0/R7YW6jA tIuq1Kv8MUnLyaSZ7lcB5IBYFoWF9E+SELwyozxvILyehqE1OHP3C0dNVlVHzwqAZc YaKQmdxGtNu1TYCNw3dbEvzDMMsJZt/NTYBiFCgA= 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 r13-3393] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 5e1538c5f68abed81204a223db7bdbeef32e0711 X-Git-Newrev: 87f9c4a433523a41bcb314bdce91b55a98d00e28 Message-Id: <20221020001830.9B790385AC2E@sourceware.org> Date: Thu, 20 Oct 2022 00:18:30 +0000 (GMT) List-Id: https://gcc.gnu.org/g:87f9c4a433523a41bcb314bdce91b55a98d00e28 commit r13-3393-g87f9c4a433523a41bcb314bdce91b55a98d00e28 Author: GCC Administrator Date: Thu Oct 20 00:17:52 2022 +0000 Daily bump. Diff: --- config/ChangeLog | 5 ++ gcc/ChangeLog | 134 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 13 +++++ gcc/c-family/ChangeLog | 16 ++++++ gcc/cp/ChangeLog | 6 +++ gcc/testsuite/ChangeLog | 78 ++++++++++++++++++++++++++++ libatomic/ChangeLog | 4 ++ libcpp/ChangeLog | 5 ++ libgcc/ChangeLog | 8 +++ libsanitizer/ChangeLog | 4 ++ libstdc++-v3/ChangeLog | 48 +++++++++++++++++ 12 files changed, 322 insertions(+), 1 deletion(-) diff --git a/config/ChangeLog b/config/ChangeLog index b7fd4e7a0b4..5e54dd42eeb 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2022-10-19 LIU Hao + + * gthr.m4 (GCC_AC_THREAD_HEADER): Add new case for `mcf` thread + model + 2022-08-31 Martin Liska * mh-pa-hpux10: Removed. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 04c9deca525..7a50293c780 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,137 @@ +2022-10-19 Aldy Hernandez + + * range-op-float.cc (build_le): Document result. + (build_lt): Same. + (build_ge): Same. + (foperator_ge::op2_range): Check result of build_*. + (foperator_unordered_le::op1_range): Same. + (foperator_unordered_le::op2_range): Same. + (foperator_unordered_gt::op1_range): Same. + (foperator_unordered_gt::op2_range): Same. + (foperator_unordered_ge::op1_range): Same. + (foperator_unordered_ge::op2_range): Same. + +2022-10-19 Marek Polacek + + PR c++/85043 + * doc/invoke.texi: Update documentation of -Wuseless-cast. + +2022-10-19 Andrew MacLeod + + * gimple-range-cache.cc (ranger_cache::range_from_dom): Use + Value_Range not int_range_max. + +2022-10-19 Aldy Hernandez + + PR tree-optimization/107312 + * range.h (range_true_and_false): Special case 1-bit signed types. + * value-range.cc (range_tests_misc): New test. + +2022-10-19 LIU Hao + + * config/i386/mingw-mcfgthread.h: New file + * config/i386/mingw32.h: Add builtin macro and default libraries + for mcfgthread when thread model is `mcf` + * config.gcc: Include 'i386/mingw-mcfgthread.h' when thread model + is `mcf` + * configure.ac: Recognize `mcf` as a valid thread model + * config.in: Regenerate + * configure: Regenerate + +2022-10-19 Lewis Hyatt + + * gengtype.cc (output_escaped_param): Add missing const. + (get_string_option): Add missing check for option type. + (walk_type): Support new "string_length" GTY option. + (write_types_process_field): Likewise. + * ggc-common.cc (gt_pch_note_object): Add optional length argument. + * ggc.h (gt_pch_note_object): Adjust prototype for new argument. + (gt_pch_n_S2): Declare... + * stringpool.cc (gt_pch_n_S2): ...new function. + * doc/gty.texi: Document new GTY((string_length)) option. + +2022-10-19 Martin Liska + + * doc/extend.texi: Remove useless @tie{} directives. + +2022-10-19 Martin Jambor + + PR tree-optimization/107206 + * tree-sra.cc (struct access): New field grp_result_of_prop_from_lhs. + (analyze_access_subtree): Do not create replacements for accesses with + this flag when not toally scalarizing. + (propagate_subaccesses_from_lhs): Set the new flag. + +2022-10-19 Stefan Schulze Frielinghaus + + PR target/106355 + * config/s390/s390.cc (s390_call_saved_register_used): For a + parameter with BLKmode fix determining number of consecutive + registers. + +2022-10-19 Takayuki 'January June' Suwa + + * config/xtensa/xtensa-protos.h + (xtensa_split1_finished_p, xtensa_split_DI_reg_imm): New prototypes. + * config/xtensa/xtensa.cc + (xtensa_split1_finished_p, xtensa_split_DI_reg_imm, xtensa_lra_p): + New functions. + (TARGET_LRA_P): Replace the dummy hook with xtensa_lra_p. + (xt_true_regnum): Rework. + * config/xtensa/xtensa.h (CALL_REALLY_USED_REGISTERS): + Switch from CALL_USED_REGISTERS, and revise the comment. + * config/xtensa/constraints.md (Y): + Use !xtensa_split1_finished_p() instead of can_create_pseudo_p(). + * config/xtensa/predicates.md (move_operand): Ditto. + * config/xtensa/xtensa.md: Add two new split patterns: + - splits DImode immediate load into two SImode ones + - puts out-of-constraint SImode constants into the constant pool + * config/xtensa/xtensa.opt (-mlra): New target-specific option + for testing purpose. + +2022-10-19 Robin Dapp + + * config/s390/s390.md: Move reload_completed and check operands for REG_P. + +2022-10-19 Jakub Jelinek + + PR middle-end/107262 + * expr.cc (convert_mode_scalar): For BFmode -> SFmode conversions + of constants, use simplify_unary_operation if fromi has VOIDmode + instead of recursive convert_mode_scalar. + +2022-10-19 Jakub Jelinek + + PR tree-optimization/106990 + * match.pd ((~X - ~Y) -> Y - X, -x & 1 -> x & 1): Guard with + !TYPE_OVERFLOW_SANITIZED (type). + +2022-10-19 Jakub Jelinek + + * config/i386/i386-builtins.cc (ix86_bf16_ptr_type_node): Remove. + (ix86_bf16_type_node): New variable. + (ix86_register_bf16_builtin_type): If bfloat16_type_node is NULL + from generic code, set only ix86_bf16_type_node to a new REAL_TYPE + rather than bfloat16_type_node, otherwise set ix86_bf16_type_node + to bfloat16_type_node. Register __bf16 on ix86_bf16_type_node + rather than bfloat16_type_node. Don't initialize unused + ix86_bf16_ptr_type_node. + * config/i386/i386-builtin-types.def (BFLOAT16): Use + ix86_bf16_type_node rather than bfloat16_type_node. + +2022-10-19 Richard Biener + + PR tree-optimization/106781 + * cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee): Copy + LHS removal from fixup_noreturn_call. + +2022-10-19 liuhongt + + PR target/107271 + * config/i386/i386-expand.cc (ix86_vec_perm_index_canon): New. + (expand_vec_perm_shufps_shufps): Call + ix86_vec_perm_index_canon + 2022-10-18 Martin Jambor * ipa-prop.h (ipa_agg_value): Remove type. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 268d1b47e9d..8b08eddd863 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20221019 +20221020 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index f753d1afae0..375a87f7ff0 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,16 @@ +2022-10-19 David Malcolm + + PR analyzer/105765 + * varargs.cc (get_BT_VALIST_ARG): Rename to... + (get_va_copy_arg): ...this, and update logic for determining level + of indirection of va_copy's argument to use type of argument, + rather than looking at va_list_type_node, to correctly handle + __builtin_ms_va_copy. + (get_stateful_BT_VALIST_ARG): Rename to... + (get_stateful_va_copy_arg): ...this. + (va_list_state_machine::on_va_copy): Update for renaming. + (region_model::impl_call_va_copy): Likewise. + 2022-10-13 David Malcolm PR analyzer/107210 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 63076ed849a..bb85e785676 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,19 @@ +2022-10-19 Joseph Myers + + * c-format.h (enum format_lengths): Add FMT_LEN_w8, FMT_LEN_w16, + FMT_LEN_w32, FMT_LEN_w64, FMT_LEN_wf8, FMT_LEN_wf16, FMT_LEN_wf32 + and FMT_LEN_wf64. + (NOARGUMENTS, NOLENGTHS): Update definitions. + (T_I8, T2X_I8, T_I16, T2X_I16, T_I32, T2X_I32, T_I64, T2X_I64) + (T_U8, T2X_U8, T_U16, T2X_U16, T_U32, T2X_U32, T_U64, T2X_U64) + (T_IF8, T2X_IF8, T_IF16, T2X_IF16, T_IF32, T2X_IF32, T_IF64) + (T2X_IF64, T_UF8, T2X_UF8, T_UF16, T2X_UF16, T_UF32, T2X_UF32) + (T_UF64, T2X_UF64): New macros. + * c-format.cc (printf_length_specs, scanf_length_specs): Add wN + and wfN length modifiers. + (print_char_table, scan_char_table): Add entries using wN and wfN + length modifiers. + 2022-10-18 Joseph Myers PR c/36113 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1fe2b1f3329..b228929ac62 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2022-10-19 Marek Polacek + + PR c++/85043 + * typeck.cc (maybe_warn_about_useless_cast): Don't warn when + a glvalue is cast to a non-reference type. + 2022-10-18 Patrick Palka PR c++/105045 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 763e88a92ff..5f9ec4c3ed8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,81 @@ +2022-10-19 Joseph Myers + + * gcc.dg/format/format.h (int_least8_t, int_least16_t) + (int_least32_t, int_least64_t, uint_least8_t, uint_least16_t) + (uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t) + (int_fast32_t, int_fast64_t, uint_fast8_t, uint_fast16_t) + (uint_fast32_t, uint_fast64_t): New typedefs. + * gcc.dg/format/c11-printf-1.c, gcc.dg/format/c11-scanf-1.c, + gcc.dg/format/c2x-printf-1.c, gcc.dg/format/c2x-scanf-1.c, + gcc.dg/format/ext-9.c: Add tests using wN and wfN length + modifiers. + +2022-10-19 David Malcolm + + PR analyzer/105765 + * gcc.dg/analyzer/stdarg-1-ms_abi.c: New test, based on stdarg-1.c. + * gcc.dg/analyzer/stdarg-1-sysv_abi.c: Likewise. + +2022-10-19 Marek Polacek + + PR c++/85043 + * g++.dg/warn/Wuseless-cast.C: Remove dg-warning. + * g++.dg/warn/Wuseless-cast3.C: New test. + +2022-10-19 Jakub Jelinek + + * lib/g++-dg.exp (g++-dg-runtest): When using defaulted + std_list, if test has { dg-do * { target c++23 } } directive, + use { 23 } with which the test will run instead of { 98 14 17 20 } + which would make it UNSUPPORTED in all cases. + +2022-10-19 Jakub Jelinek + + PR c/107311 + * gcc.dg/c2x-enum-1.c (enum e5): Expect e5a type inside of + enum to be int rather than long if long isn't wider than int. + +2022-10-19 Aldy Hernandez + + PR tree-optimization/107312 + * gcc.target/i386/pr107312.c: New test. + +2022-10-19 Lewis Hyatt + + * g++.dg/pch/pch-string-nulls.C: New test. + * g++.dg/pch/pch-string-nulls.Hs: New test. + +2022-10-19 Martin Jambor + + PR tree-optimization/107206 + * g++.dg/tree-ssa/pr107206.C: New test. + +2022-10-19 Stefan Schulze Frielinghaus + + * gcc.target/s390/pr106355.h: Common code for new tests. + * gcc.target/s390/pr106355-1.c: New test. + * gcc.target/s390/pr106355-2.c: New test. + * gcc.target/s390/pr106355-3.c: New test. + +2022-10-19 Jakub Jelinek + + PR middle-end/107262 + * gcc.dg/pr107262.c: New test. + +2022-10-19 Jakub Jelinek + + PR tree-optimization/106990 + * c-c++-common/ubsan/pr106990.c: New test. + +2022-10-19 Richard Biener + + PR tree-optimization/106781 + * gcc.dg/pr106781.c: New testcase. + +2022-10-19 liuhongt + + * gcc.target/i386/pr107271.c: New test. + 2022-10-18 Joseph Myers PR c/107164 diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 64e14a63ed6..92ef782b1ff 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,7 @@ +2022-10-19 LIU Hao + + * configure.tgt: Add new case for `mcf` thread model + 2022-10-12 Martin Liska * configure: Regenerate. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 3a1b4996bce..18d5bcceaf0 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2022-10-19 Lewis Hyatt + + * include/cpplib.h (struct cpp_string): Use new "string_length" GTY. + * include/symtab.h (struct ht_identifier): Likewise. + 2022-10-14 Joseph Myers * charset.cc (ucn_valid_in_identifier): Check xid_identifiers not diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index ea4997d34cf..005505b261d 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,11 @@ +2022-10-19 LIU Hao + + * config.host: Add new cases for `mcf` thread model + * config/i386/gthr-mcf.h: New file + * config/i386/t-mingw-mcfgthread: New file + * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL + * configure: Regenerate + 2022-10-18 Jonathan Wakely * Makefile.in: Quote variable. diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 1c3beef3815..2d09c903daa 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,7 @@ +2022-10-19 Martin Liska + + * configure: Regenerate. + 2022-10-18 Florian Weimer * configure.ac (sanitizer_supported): Include for diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 09988f69a25..82b3d9fe067 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,51 @@ +2022-10-19 Patrick Palka + + * include/std/ranges (views::__detail::__is_repeat_view): Define + and later define a partial specialization. + (views::__detail::__take_of_repeat_view): Declare and later define. + (views::__detail::__drop_of_repeat_view): Likewise. + (views::_Take::operator()): Return a repeat_view if the argument + is a repeat_view as per P2474R2. + (views::_Drop::operator()): Likewise. + (repeat_view): Befriend __take/drop_of_repeat_view. + * testsuite/std/ranges/repeat/1.cc (test04): New test. + +2022-10-19 Patrick Palka + + PR libstdc++/107313 + * include/std/ranges (stride_view::_Iterator::operator-): Fix typo. + * testsuite/std/ranges/adaptors/stride/1.cc (test03): New test. + +2022-10-19 LIU Hao + + * src/c++11/thread.cc (get_nprocs): Add new implementation + for native Windows targets + +2022-10-19 LIU Hao + + * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Use + implementation from mcfgthread if available + * libsupc++/guard.cc (__cxa_guard_acquire, __cxa_guard_release, + __cxa_guard_abort): Use implementations from mcfgthread if + available + * configure: Regenerate + +2022-10-19 Jakub Jelinek + + PR c++/106652 + * include/std/limits: Fix a typo, 202202L -> 202002L. + (numeric_limits::<_Float16>::radix, numeric_limits::<_Float32>::radix, + numeric_limits::<_Float64>::radix, numeric_limits::<_Float128>::radix, + numeric_limits::<__gnu_cxx::__bfloat16_t>::radix): Use __FLT_RADIX__ + macro instead of type specific macros. + * include/c_global/cmath (nextafter(_Float16, _Float16)): New + overload. + (nextafter(__gnu_cxx::__bfloat16_t, __gnu_cxx::__bfloat16_t)): + Likewise. + * testsuite/26_numerics/headers/cmath/functions_std_c++23.cc + (test_functions): Uncomment nextafter test. Fix up sph_neumann call. + * testsuite/26_numerics/headers/cmath/nextafter_c++23.cc: New test. + 2022-10-18 Patrick Palka * include/std/ranges (stride_view): Define.