From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 3DFD43858D32; Sun, 15 Jan 2023 00:18:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3DFD43858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673741907; bh=0NTz7nTlJfRWyT/+XGJ3ePOp3a9UBmOdH1AHXxej5yY=; h=From:To:Subject:Date:From; b=AGuYJXlTQUZT5E01dqTP1ywd6xiv/Up7YW8QYmAKZpQVxJrXG6ELAIVC1j/1336Y6 qkbfj8+33GFHIQmSUoWytVhYTgO8osLpNeoqBPSDhnrfVRCerTQfV38ZwyJdWV81GE hvx1XULuKzzecQk1ttHi829Vjb9ZINwcK855/pqE= 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 r13-5173] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 523e8716a452978a7972478d8cdbbe0d1a794a74 X-Git-Newrev: 5013c3bb3ead9c27adb90152115ca1d606cbf2dc Message-Id: <20230115001827.3DFD43858D32@sourceware.org> Date: Sun, 15 Jan 2023 00:18:27 +0000 (GMT) List-Id: https://gcc.gnu.org/g:5013c3bb3ead9c27adb90152115ca1d606cbf2dc commit r13-5173-g5013c3bb3ead9c27adb90152115ca1d606cbf2dc Author: GCC Administrator Date: Sun Jan 15 00:17:49 2023 +0000 Daily bump. Diff: --- gcc/ChangeLog | 112 +++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 19 ++++++ gcc/c-family/ChangeLog | 12 ++++ gcc/c/ChangeLog | 10 ++++ gcc/cp/ChangeLog | 16 +++++ gcc/lto/ChangeLog | 5 ++ gcc/m2/ChangeLog | 12 ++++ gcc/testsuite/ChangeLog | 114 ++++++++++++++++++++++++++++++++++++ libgcc/ChangeLog | 29 +++++++++ libstdc++-v3/ChangeLog | 152 ++++++++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 482 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d112fe8a161..87e7dfb2dc8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,115 @@ +2023-01-14 Takayuki 'January June' Suwa + + * config/xtensa/xtensa-protos.h (order_regs_for_local_alloc): + Rename to xtensa_adjust_reg_alloc_order. + * config/xtensa/xtensa.cc (xtensa_adjust_reg_alloc_order): + Ditto. And also remove code to reorder register numbers for + leaf functions, rename the tables, and adjust the allocation + order for the call0 ABI to use register A0 more. + (xtensa_leaf_regs): Remove. + * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Cosmetics. + (order_regs_for_local_alloc): Rename as the above. + (LEAF_REGISTERS, LEAF_REG_REMAP, leaf_function): Remove. + +2023-01-14 Prathamesh Kulkarni + + * config/aarch64/aarch64-sve.md (aarch64_vec_duplicate_vq_le): + Change to define_insn_and_split to fold ldr+dup to ld1rq. + * config/aarch64/predicates.md (aarch64_sve_dup_ld1rq_operand): New. + +2023-01-14 Alexandre Oliva + + * hash-table.h (is_deleted): Precheck !is_empty. + (mark_deleted): Postcheck !is_empty. + (copy constructor): Test is_empty before is_deleted. + +2023-01-14 Alexandre Oliva + + PR target/40457 + * config/arm/arm.md (movmisaligndi): Prefer aligned SImode + moves. + +2023-01-13 Eric Botcazou + + PR rtl-optimization/108274 + * function.cc (thread_prologue_and_epilogue_insns): Also update the + DF information for calls in a few more cases. + +2023-01-13 John David Anglin + + * config/pa/pa-linux.h (TARGET_SYNC_LIBCALL): Delete define. + * config/pa/pa.cc (pa_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE + define. + * config/pa/pa.h (TARGET_SYNC_LIBCALLS): Use flag_sync_libcalls. + (MAX_SYNC_LIBFUNC_SIZE): Define. + (TARGET_CPU_CPP_BUILTINS): Define __SOFTFP__ when soft float is + enabled. + * config/pa/pa.md (atomic_storeqi): Emit __atomic_exchange_1 + libcall when sync libcalls are disabled. + (atomic_storehi, atomic_storesi, atomic_storedi): Likewise. + (atomic_loaddi): Emit __atomic_load_8 libcall when sync libcalls + are disabled on 32-bit target. + * config/pa/pa.opt (matomic-libcalls): New option. + * doc/invoke.texi (HPPA Options): Update. + +2023-01-13 Alexander Monakov + + PR rtl-optimization/108117 + PR rtl-optimization/108132 + * sched-deps.cc (deps_analyze_insn): Do not schedule across + calls before reload. + +2023-01-13 Srinath Parvathaneni + + * common/config/arm/arm-common.cc (arm_canon_arch_option_1): Ignore cde + options for -mlibarch. + * config/arm/arm-cpus.in (begin cpu cortex-m55): Add cde options. + * doc/invoke.texi (CDE): Document options for Cortex-M55 CPU. + +2023-01-13 Qing Zhao + + * attribs.cc (strict_flex_array_level_of): Move this function to ... + * attribs.h (strict_flex_array_level_of): Remove the declaration. + * gimple-array-bounds.cc (array_bounds_checker::check_array_ref): + replace the referece to strict_flex_array_level_of with + DECL_NOT_FLEXARRAY. + * tree.cc (component_ref_size): Likewise. + +2023-01-13 Richard Biener + + PR target/55522 + * config/arm/linux-eabi.h (ENDFILE_SPEC): Don't add + crtfastmath.o for -shared. + * config/arm/unknown-elf.h (STARTFILE_SPEC): Likewise. + +2023-01-13 Richard Biener + + PR target/55522 + * config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Don't add + crtfastmath.o for -shared. + * config/aarch64/aarch64-freebsd.h (GNU_USER_TARGET_MATHFILE_SPEC): + Likewise. + * config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATHFILE_SPEC): + Likewise. + +2023-01-13 Richard Sandiford + + * config/aarch64/aarch64.cc (aarch64_dwarf_frame_reg_mode): New + function. + (TARGET_DWARF_FRAME_REG_MODE): Define. + +2023-01-13 Richard Biener + + PR target/107209 + * config/aarch64/aarch64.cc (aarch64_gimple_fold_builtin): Don't + update EH info on the fly. + +2023-01-13 Richard Biener + + PR tree-optimization/108387 + * tree-ssa-sccvn.cc (visit_nary_op): Check for SSA_NAME + value before inserting expression into the tables. + 2023-01-12 Andrew Pinski Roger Sayle diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index e47d85a2bca..dbdecdf7fc7 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230113 +20230115 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 8a6ebc1ab58..959464a15e4 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,22 @@ +2023-01-13 David Malcolm + + PR analyzer/105273 + * region-model.cc (has_nondefault_case_for_value_p): New. + (has_nondefault_cases_for_all_enum_values_p): New. + (region_model::apply_constraints_for_gswitch): Skip + implicitly-created "default" when switching on an enum + and all enum values have non-default cases. + (rejected_default_case::dump_to_pp): New. + * region-model.h (region_model_context::possibly_tainted_p): New + decl. + (class rejected_default_case): New. + * sm-taint.cc (region_model_context::possibly_tainted_p): New. + * supergraph.cc (switch_cfg_superedge::dump_label_to_pp): Dump + when implicitly_created_default_p. + (switch_cfg_superedge::implicitly_created_default_p): New. + * supergraph.h + (switch_cfg_superedge::implicitly_created_default_p): New decl. + 2023-01-11 David Malcolm PR analyzer/108252 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 3e0cc55584c..2e8804ab305 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,15 @@ +2023-01-14 Jakub Jelinek + + PR c++/108365 + * c-common.h (may_shorten_divmod): New static inline function. + +2023-01-13 Eric Botcazou + + * c-ada-spec.cc (is_float32): New function. + (is_float64): Likewise. + (is_float128): Tweak. + (dump_ada_node) : Call them to recognize more types. + 2023-01-12 Lewis Hyatt PR preprocessor/108244 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 69ee9da7938..0a10d163325 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,13 @@ +2023-01-14 Jakub Jelinek + + PR c++/108365 + * c-typeck.cc (build_binary_op): Use may_shorten_divmod for integral + division or modulo. + +2023-01-13 Qing Zhao + + * c-decl.cc (strict_flex_array_level_of): ... here. + 2023-01-11 Jakub Jelinek PR c/105972 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4f565b48571..5c91d4bc91b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,19 @@ +2023-01-14 Jakub Jelinek + + PR c++/108365 + * typeck.cc (cp_build_binary_op): Use may_shorten_divmod for integral + division or modulo. + +2023-01-13 Jakub Jelinek + + PR c++/108285 + * cvt.cc (cp_convert_and_check): For EXCESS_PRECISION_EXPR + use its operand except that for warning purposes use the original + EXCESS_PRECISION_EXPR. + * call.cc (convert_like_internal): Only look through + EXCESS_PRECISION_EXPR when calling cp_convert, not when calling + cp_convert_and_check. + 2023-01-09 Jakub Jelinek PR c++/105838 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 3210e34f858..e399204bfde 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2023-01-13 Richard Biener + + * lto-lang.cc (lto_type_for_mode): Sync with + c_common_type_for_mode. + 2023-01-04 Jan Hubicka * lto-partition.cc (may_need_named_section_p): Clones with no body diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 32cf1e4f3c3..c12b37a917a 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,15 @@ +2023-01-13 Iain Sandoe + + * gm2-gcc/m2options.h (M2Options_SetVerbose): Export the + function. + * gm2-lang.cc: Handle OPT_v, passing it to the compiler. + * lang-specs.h: Pass -v to cc1gm2. + +2023-01-13 Gaius Mulley + + * mc-boot-ch/GRTco.c (RTco_select): Add return 0. + * pge-boot/GRTco.c (RTco_select): Add return 0. + 2023-01-10 Gaius Mulley * Make-lang.in (m2/mc-boot/$(SRC_PREFIX)%.o): Add diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eec4ca1aeec..a57ad0d28cb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,117 @@ +2023-01-14 Prathamesh Kulkarni + + * gcc.target/aarch64/sve/acle/general/pr96463-2.c: Adjust. + +2023-01-14 Jakub Jelinek + + PR c++/108365 + * c-c++-common/pr108365.c: New test. + * g++.dg/opt/pr108365.C: New test. + * g++.dg/warn/pr108365.C: New test. + +2023-01-14 Alexandre Oliva + + PR target/42093 + * gcc.target/arm/pr42093.c: Disable tree-dce. + +2023-01-13 David Malcolm + + PR analyzer/105273 + * gcc.dg/analyzer/switch-enum-1.c: New test. + * gcc.dg/analyzer/switch-enum-2.c: New test. + * gcc.dg/analyzer/switch-enum-pr105273-git-vreportf-2.c: New test. + * gcc.dg/analyzer/switch-enum-taint-1.c: New test. + * gcc.dg/analyzer/switch-wrong-enum.c: New test. + * gcc.dg/analyzer/torture/switch-enum-pr105273-doom-p_floor.c: New + test. + * gcc.dg/analyzer/torture/switch-enum-pr105273-doom-p_maputl.c: + New test. + * gcc.dg/analyzer/torture/switch-enum-pr105273-git-vreportf-1.c: + New test. + +2023-01-13 Alexander Monakov + + PR rtl-optimization/108117 + PR rtl-optimization/108132 + * gcc.dg/pr108117.c: New test. + +2023-01-13 Jakub Jelinek + + PR c++/108285 + * g++.dg/warn/pr108285.C: New test. + +2023-01-13 Gaius Mulley + + * gm2/examples/map/pass/examples-map-pass.exp: + Call gm2_push_timeout 30 before foreach testcase. + Call gm2_pop_timeout after the foreach statement. + * gm2/pimlib/base/run/pass/pimlib-base-run-pass.exp: + Call gm2_push_timeout 20 before foreach testcase. + Call gm2_pop_timeout after the foreach statement. + +2023-01-13 Jakub Jelinek + + PR target/107131 + * gcc.c-torture/execute/pr107131.c: New test. + +2023-01-13 Srinath Parvathaneni + + * gcc.target/arm/multilib.exp: Add multilib tests for Cortex-M55 CPU. + +2023-01-13 Qing Zhao + + * gcc.dg/Warray-bounds-flex-arrays-1.c: Delete the level information + from the message issued by -Wstrict-flex-arrays. + * gcc.dg/Warray-bounds-flex-arrays-2.c: Likewise. + * gcc.dg/Warray-bounds-flex-arrays-3.c: Likewise. + * gcc.dg/Warray-bounds-flex-arrays-4.c: Likewise. + * gcc.dg/Warray-bounds-flex-arrays-5.c: Likewise. + * gcc.dg/Warray-bounds-flex-arrays-6.c: Likewise. + * gcc.dg/Wstrict-flex-arrays-2.c: Likewise. + * gcc.dg/Wstrict-flex-arrays-3.c: Likewise. + * gcc.dg/Wstrict-flex-arrays.c: Likewise. + +2023-01-13 Jakub Jelinek + + PR target/107131 + * gcc.dg/pr107131.c: New test. + +2023-01-13 Richard Sandiford + + * gcc.target/aarch64/dwarf_reg_size_1.c: New test. + * gcc.target/aarch64/dwarf_reg_size_2.c: Likewise. + +2023-01-13 Richard Biener + + * gcc.target/aarch64/pr107209.c: New test. + +2023-01-13 Richard Biener + + PR tree-optimization/108387 + * gcc.dg/pr108387.c: New testcase. + +2023-01-13 Gaius Mulley + + * gm2/coroutines/pim/run/pass/coroutines-pim-run-pass.exp + (timeout-dg.exp): Load. + Call gm2_push_timeout 15. + Call gm2_pop_timeout at the end. + * gm2/link/min/pass/link-min-pass.exp: Set path + argument to "". + * gm2/switches/whole-program/pass/run/switches-whole-program-pass-run.exp: + Call gm2_push_timeout 60. + Call gm2_pop_timeout at the end. + * lib/gm2-torture.exp (gm2_previous_timeout): Set to 10 or + individual_timeout. + Configure dejagnu to timeout for 10 seconds. + (gm2_push_timeout): New proc. + (gm2_pop_timeout): New proc. + * lib/gm2.exp (gm2_previous_timeout): Set to 10 or + individual_timeout. + Configure dejagnu to timeout for 10 seconds. + (gm2_push_timeout): New proc. + (gm2_pop_timeout): New proc. + 2023-01-12 Gaius Mulley * lib/gm2.exp: Use timeout.exp. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 6511abe604b..5ae6d309bf5 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,32 @@ +2023-01-13 John David Anglin + + * config.host (hppa*64*-*-linux*): Adjust tmake_file to use + pa/t-pa64-linux. + (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux + instead of pa/t-hpux and pa/t-pa64. + * config/pa/linux-atomic.c: Define u32 type. + (ATOMIC_LOAD): Define new macro to implement atomic_load_1, + atomic_load_2, atomic_load_4 and atomic_load_8. Update sync + defines to use atomic_load calls for type. + (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8. + * config/pa/sync-libfuncs.c: New file. + * config/pa/t-netbsd (LIB2ADD_ST): Define. + * config/pa/t-openbsd (LIB2ADD_ST): Define. + * config/pa/t-pa64-hpux: New file. + * config/pa/t-pa64-linux: New file. + +2023-01-13 Jonathan Wakely + + PR libstdc++/108331 + * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New + struct matching the previous __gthread_mutex_t struct. + (__GTHREAD_LEGACY_MUTEX_T): Define. + +2023-01-13 Seija Kijin + + * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to + unified syntax. + 2023-01-07 LIU Hao PR middle-end/108300 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 38230909077..6a0ddd40d86 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,155 @@ +2023-01-14 Björn Schäpers + + * acinclude.m4 (GLIBCXX_ENABLE_BACKTRACE): Add check for + windows.h. Add pecoff as FORMAT_FILE. + * config.h.in: Regenerate. + * configure: Regenerate. + * src/libbacktrace/Makefile.am: Regenerate. + * src/libbacktrace/Makefile.in: Add pecoff.c as FORMAT_FILE. + +2023-01-14 Björn Schäpers + + * include/std/stacktrace (stacktrace_entry::_S_demangle): Use + raw __name if __cxa_demangle could not demangle it. + +2023-01-14 Jonathan Wakely + + PR libstdc++/108409 + * src/c++20/tzdb.cc (current_zone()) [_AIX]: Use TZ environment + variable. + +2023-01-14 Jonathan Wakely + + * src/c++20/tzdb.cc (TZDB_DISABLED): Disable all code for + loading tzdb. + * testsuite/std/time/tzdb/leap_seconds.cc: Require tzdb + effective target. + * testsuite/std/time/tzdb_list/1.cc: Likewise. + +2023-01-14 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ZONEINFO_DIR): Replace the + --with-libstdcxx-zoneinfo-dir configure option with + --with-libstdcxx-zoneinfo with yes/no/static choices as well as + a directory. + * config.h.in: Regenerate. + * configure: Regenerate. + * doc/xml/manual/configure.xml: Document configure option. + * doc/html/manual/configure.html: Regenerate. + * src/c++20/Makefile.am: Generate tzdata.zi.h header. + * src/c++20/Makefile.in: Regenerate. + * src/c++20/tzdb.cc (__gnu_cxx::zoneinfo_dir_override): Return a + null pointer if no directory is configured. + (zoneinfo_dir): Replace with ... + (zoneinfo_file): New function. + (tzdata_stream): New istream class. + (remote_version, reload_tzdb): Use tzdata_stream. + * testsuite/lib/libstdc++.exp (check_effective_target_tzdb): + Check new _GLIBCXX_STATIC_TZDATA macro and ignore presence of + tzdata.zi file in default location. + * src/c++20/tzdata.zi: New file. + +2023-01-14 Jonathan Wakely + + * include/bits/chrono_io.h (operator<<): Fix syntax errors. + * testsuite/std/time/month_day/io.cc: New test. + * testsuite/std/time/month_day_last/io.cc: New test. + * testsuite/std/time/month_weekday/io.cc: New test. + * testsuite/std/time/month_weekday_last/io.cc: New test. + * testsuite/std/time/weekday_indexed/io.cc: New test. + * testsuite/std/time/weekday_last/io.cc: New test. + * testsuite/std/time/year_month/io.cc: New test. + * testsuite/std/time/year_month_day_last/io.cc: New test. + * testsuite/std/time/year_month_weekday/io.cc: New test. + * testsuite/std/time/year_month_weekday_last/io.cc: New test. + +2023-01-14 François Dumont + + * include/std/format [_GLIBCXX_INLINE_VERSION](to_chars): Adapt __asm symbol + specifications. + * config/abi/pre/gnu-versioned-namespace.ver: Add to_chars/from_chars symbols + export. + +2023-01-13 Jonathan Wakely + + * include/bits/std_mutex.h: Include . + +2023-01-13 Arsen Arsenović + + * testsuite/20_util/to_chars/version.cc: Mark hosted-only. + * testsuite/20_util/uses_allocator/lwg3677.cc: Ditto. + * testsuite/20_util/weak_ptr/cons/self_move.cc: Ditto. + * testsuite/std/ranges/adaptors/as_rvalue/1.cc: Replace usage of + std::make_unique with a freestanding-compatible wrapper around + unique_ptr. + * testsuite/21_strings/basic_string_view/operations/contains/char.cc: + Don't test for presence of __cpp_lib_string_contains on !HOSTED. + * testsuite/21_strings/basic_string_view/operations/contains/char/2.cc: + Ditto. + * testsuite/std/ranges/version_c++23.cc: Don't test for presence + of __cpp_lib_ranges in !HOSTED. + +2023-01-13 Arsen Arsenović + + * include/Makefile.am: Install bits/char_traits.h, + std/string_view + * include/Makefile.in: Regenerate. + * include/bits/char_traits.h: Gate hosted-only, wchar-only and + mbstate-only bits behind appropriate #ifs. + * include/std/string_view: Gate functionality behind + HOSTED. + * include/std/version: Enable __cpp_lib_constexpr_string_view + and __cpp_lib_starts_ends_with in !HOSTED. + * include/std/ranges: Re-enable __is_basic_string_view on + freestanding, include directly. + * include/precompiled/stdc++.h: Include when + !HOSTED too. + * testsuite/20_util/function_objects/searchers.cc: Skip testing + boyer_moore searchers on freestanding + * testsuite/21_strings/basic_string_view/capacity/1.cc: Guard + -related tests behind __STDC_HOSTED__. + * testsuite/21_strings/basic_string_view/cons/char/1.cc: Ditto. + * testsuite/21_strings/basic_string_view/cons/char/2.cc: Remove + unused include. + * testsuite/21_strings/basic_string_view/cons/char/3.cc: Remove + unused include. + * testsuite/21_strings/basic_string_view/cons/char/range.cc: + Guard related testing behind __STDC_HOSTED__. + * testsuite/21_strings/basic_string_view/cons/wchar_t/1.cc: + Guard related tests behind __STDC_HOSTED__. + * testsuite/21_strings/basic_string_view/element_access/char/1.cc: + Ditto. + * testsuite/21_strings/basic_string_view/element_access/wchar_t/1.cc: + Guard tests behind __STDC_HOSTED__. + * testsuite/21_strings/basic_string_view/operations/contains/char/2.cc: + Enable test on freestanding, guard bits behind + __STDC_HOSTED__. + * testsuite/21_strings/basic_string_view/operations/substr/char.cc: + Guard bits behind __STDC_HOSTED__. + * testsuite/21_strings/basic_string_view/operations/substr/wchar_t.cc: + Ditto. + +2023-01-13 Dimitrij Mijoski + + PR libstdc++/86419 + * src/c++11/codecvt.cc (read_utf8_code_point): Correctly detect + errors in incomplete multibyte sequences. + (utf16_in): Remove surrogates parameter. Fix conditions for + returning partial. + (utf16_out): Fix condition for returning partial. + (ucs2_in): Do not pass surrogates argument to utf16_in. + * testsuite/22_locale/codecvt/codecvt_unicode.cc: New test. + * testsuite/22_locale/codecvt/codecvt_unicode.h: New header for + tests. + * testsuite/22_locale/codecvt/codecvt_unicode_wchar_t.cc: New + test. + +2023-01-13 Jonathan Wakely + + PR libstdc++/108331 + * config/io/c_io_stdio.h (__c_lock): Define as a typedef for + __GTHREAD_LEGACY_MUTEX_T if defined. + 2023-01-13 Jonathan Wakely PR libstdc++/108327