Daily bump.
This commit is contained in:
parent
2c7fb16b52
commit
4b4839e325
11 changed files with 439 additions and 1 deletions
219
gcc/ChangeLog
219
gcc/ChangeLog
|
@ -1,3 +1,222 @@
|
|||
2021-12-09 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* doc/invoke.texi (max-inline-functions-called-once-loop-depth,
|
||||
max-inline-functions-called-once-insns): New parameters.
|
||||
* ipa-inline.c (check_callers): Handle
|
||||
param_inline_functions_called_once_loop_depth and
|
||||
param_inline_functions_called_once_insns.
|
||||
(edge_badness): Fix linebreaks.
|
||||
* params.opt (param=max-inline-functions-called-once-loop-depth,
|
||||
param=max-inline-functions-called-once-insn): New params.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR tree-optimization/103215
|
||||
* pointer-query.cc (access_ref::merge_ref): Extend the offset and
|
||||
size of the merged object instead of using the larger.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/101751
|
||||
* doc/extend.texi (attribute access): Adjust.
|
||||
* gimple-ssa-warn-access.cc (pass_waccess::maybe_check_access_sizes):
|
||||
Treat access mode none on a void* argument as expecting as few as
|
||||
zero bytes.
|
||||
|
||||
2021-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
* config/aarch64/aarch64-sve-builtins.cc (gt_pch_nx): Change type of
|
||||
second argument from function with 2 pointer arguments to function
|
||||
with 3 pointer arguments.
|
||||
|
||||
2021-12-09 Olivier Hainque <hainque@adacore.com>
|
||||
|
||||
* config/aarch64/aarch64-vxworks.h (TARGET_OS_CPP_BUILTINS):
|
||||
Use VX_CPU_PREFIX in CPU definitions.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* pointer-query.cc (access_ref::dump): Define new function
|
||||
(pointer_query::dump): Call it.
|
||||
* pointer-query.h (access_ref::dump): Declare new function.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* pointer-query.cc (compute_objsize_r): Add an argument.
|
||||
(gimple_call_return_array): Pass a new argument to compute_objsize_r.
|
||||
(access_ref::merge_ref): Same.
|
||||
(access_ref::inform_access): Add an argument and use it.
|
||||
(access_data::access_data): Initialize new member.
|
||||
(handle_min_max_size): Pass a new argument to compute_objsize_r.
|
||||
(handle_decl): New function.
|
||||
(handle_array_ref): Pass a new argument to compute_objsize_r.
|
||||
Avoid incrementing deref.
|
||||
(set_component_ref_size): New function.
|
||||
(handle_component_ref): New function.
|
||||
(handle_mem_ref): Pass a new argument to compute_objsize_r.
|
||||
Only increment deref after successfully computing object size.
|
||||
(handle_ssa_name): New function.
|
||||
(compute_objsize_r): Move code into helpers and call them.
|
||||
(compute_objsize): Pass a new argument to compute_objsize_r.
|
||||
* pointer-query.h (access_ref::inform_access): Add an argument.
|
||||
(access_data::ostype): New member.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* pointer-query.cc (access_ref::merge_ref): Define new function.
|
||||
(access_ref::get_ref): Move code into merge_ref and call it.
|
||||
* pointer-query.h (access_ref::merge_ref): Declare new function.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* gimple-ssa-warn-restrict.c (builtin_access::builtin_access): Pass
|
||||
GIMPLE statement to compute_objsize.
|
||||
* pointer-query.cc (compute_objsize): Add a statement argument.
|
||||
* pointer-query.h (compute_objsize): Define a new overload.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* gimple-ssa-warn-access.cc (check_access): Adjust to member name
|
||||
change.
|
||||
(pass_waccess::check_strncmp): Same.
|
||||
* pointer-query.cc (access_ref::access_ref): Remove arguments.
|
||||
Simpilfy.
|
||||
(access_data::access_data): Define new ctors.
|
||||
(access_data::set_bound): Define new member function.
|
||||
(compute_objsize_r): Remove unnecessary code.
|
||||
* pointer-query.h (struct access_ref): Remove ctor arguments.
|
||||
(struct access_data): Declare ctor overloads.
|
||||
(access_data::dst_bndrng): New member.
|
||||
(access_data::src_bndrng): New member.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/103143
|
||||
* pointer-query.cc (gimple_call_return_array): Call compute_objsize_r.
|
||||
|
||||
2021-12-09 Olivier Hainque <hainque@adacore.com>
|
||||
Rasmus Villemoes <rv@rasmusvillemoes.dk>
|
||||
|
||||
* Makefile.in (T_STDINT_GCC_H): New variable, path to
|
||||
stdint-gcc.h that a target configuration may override when
|
||||
use_gcc_stdint is "provide".
|
||||
(stmp-int-hdrs): Depend on it and copy that for
|
||||
USE_GCC_INT=provide.
|
||||
* config.gcc (vxworks): Revert to use_gcc_stdint=provide.
|
||||
* config/t-vxworks (T_STDINT_GCC_H): Define, as vxw-stdint-gcc.h.
|
||||
(vxw-stdint-gcc.h): New target, produced from the original
|
||||
stdint-gcc.h.
|
||||
(vxw-glimits.h): Use an automatic variable to designate the
|
||||
first and only prerequisite.
|
||||
* config/vxworks/stdint.h: Remove.
|
||||
|
||||
2021-12-09 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
PR pch/71934
|
||||
* config/host-darwin.c (SAFE_ALLOC_SIZE): Remove.
|
||||
(darwin_gt_pch_get_address): Rework for relocatable PCH.
|
||||
(darwin_gt_pch_use_address): Likewise.
|
||||
|
||||
2021-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
* config/host-darwin.c (darwin_gt_pch_use_address): When reading
|
||||
manually the file into mapped area, update mapped_addr as
|
||||
an automatic variable rather than addr which is a reference parameter.
|
||||
* config/host-hpux.c (hpux_gt_pch_use_address): When reading
|
||||
manually the file into mapped area, update addr as
|
||||
an automatic variable rather than base which is a reference parameter.
|
||||
|
||||
2021-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
* coretypes.h (gt_pointer_operator): Use 3 pointer arguments instead
|
||||
of two.
|
||||
* gengtype.c (struct walk_type_data): Add in_nested_ptr argument.
|
||||
(walk_type): Temporarily set d->in_nested_ptr around nested_ptr
|
||||
handling.
|
||||
(write_types_local_user_process_field): Pass a new middle pointer
|
||||
to gt_pointer_operator op calls, if d->in_nested_ptr pass there
|
||||
address of d->prev_val[2], otherwise NULL.
|
||||
(write_types_local_process_field): Likewise.
|
||||
* ggc-common.c (relocate_ptrs): Add real_ptr_p argument. If equal
|
||||
to ptr_p, do nothing, otherwise if NULL remember ptr_p's
|
||||
or if non-NULL real_ptr_p's corresponding new address in
|
||||
reloc_addrs_vec.
|
||||
(reloc_addrs_vec): New variable.
|
||||
(compare_ptr, read_uleb128, write_uleb128): New functions.
|
||||
(gt_pch_save): When iterating over objects through relocate_ptrs,
|
||||
save current i into state.ptrs_i. Sort reloc_addrs_vec and emit
|
||||
it as uleb128 of differences between pointer addresses into the
|
||||
PCH file.
|
||||
(gt_pch_restore): Allow restoring of PCH to a different address
|
||||
than the preferred one, in that case adjust global pointers by bias
|
||||
and also adjust by bias addresses read from the relocation table
|
||||
as uleb128 differences. Otherwise fseek over it. Perform
|
||||
gt_pch_restore_stringpool only after adjusting callbacks and for
|
||||
callback adjustments also take into account the bias.
|
||||
(default_gt_pch_use_address): Change type of first argument from
|
||||
void * to void *&.
|
||||
(mmap_gt_pch_use_address): Likewise.
|
||||
* ggc-tests.c (gt_pch_nx): Pass NULL as new middle argument to op.
|
||||
* hash-map.h (hash_map::pch_nx_helper): Likewise.
|
||||
(gt_pch_nx): Likewise.
|
||||
* hash-set.h (gt_pch_nx): Likewise.
|
||||
* hash-table.h (gt_pch_nx): Likewise.
|
||||
* hash-traits.h (ggc_remove::pch_nx): Likewise.
|
||||
* hosthooks-def.h (default_gt_pch_use_address): Change type of first
|
||||
argument from void * to void *&.
|
||||
(mmap_gt_pch_use_address): Likewise.
|
||||
* hosthooks.h (struct host_hooks): Change type of first argument of
|
||||
gt_pch_use_address hook from void * to void *&.
|
||||
* machmode.h (gt_pch_nx): Expect a callback with 3 pointers instead of
|
||||
two in the middle argument.
|
||||
* poly-int.h (gt_pch_nx): Likewise.
|
||||
* stringpool.c (gt_pch_nx): Pass NULL as new middle argument to op.
|
||||
* tree-cfg.c (gt_pch_nx): Likewise, except for LOCATION_BLOCK pass
|
||||
the same &(block) twice.
|
||||
* value-range.h (gt_pch_nx): Pass NULL as new middle argument to op.
|
||||
* vec.h (gt_pch_nx): Likewise.
|
||||
* wide-int.h (gt_pch_nx): Likewise.
|
||||
* config/host-darwin.c (darwin_gt_pch_use_address): Change type of
|
||||
first argument from void * to void *&.
|
||||
* config/host-darwin.h (darwin_gt_pch_use_address): Likewise.
|
||||
* config/host-hpux.c (hpux_gt_pch_use_address): Likewise.
|
||||
* config/host-linux.c (linux_gt_pch_use_address): Likewise. If
|
||||
it couldn't succeed to mmap at the preferred location, set base
|
||||
to the actual one. Update addr in the manual reading loop instead of
|
||||
base.
|
||||
* config/host-netbsd.c (netbsd_gt_pch_use_address): Change type of
|
||||
first argument from void * to void *&.
|
||||
* config/host-openbsd.c (openbsd_gt_pch_use_address): Likewise.
|
||||
* config/host-solaris.c (sol_gt_pch_use_address): Likewise.
|
||||
* config/i386/host-mingw32.c (mingw32_gt_pch_use_address): Likewise.
|
||||
* config/rs6000/rs6000-gen-builtins.c (write_init_file): Pass NULL
|
||||
as new middle argument to op in the generated code.
|
||||
* doc/gty.texi: Adjust samples for the addition of middle pointer
|
||||
to gt_pointer_operator callback.
|
||||
|
||||
2021-12-09 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
PR target/103097
|
||||
* reg-stack.c (convert_regs_1): Move any_malformed_asm
|
||||
resetting...
|
||||
(reg_to_stack): ... here.
|
||||
|
||||
2021-12-09 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
PR target/103302
|
||||
* expr.c (emit_move_multi_word): Skip clobber during lra.
|
||||
|
||||
2021-12-09 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
PR tree-optimization/103024
|
||||
PR middle-end/103530
|
||||
* gimple-harden-conditionals.cc (non_eh_succ_edge): New.
|
||||
(pass_harden_compares::execute): Accept 1-bit integral types,
|
||||
and cope with throwing compares.
|
||||
|
||||
2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
* config/darwin.h (DARWIN_PIE_SPEC): Add -no_pie when
|
||||
|
|
|
@ -1 +1 @@
|
|||
20211209
|
||||
20211210
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2021-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
* gcc-interface/decl.c (gt_pch_nx): Pass NULL as new middle argument
|
||||
to op.
|
||||
|
||||
2021-12-02 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-interface/Make-lang.in (ADA_GENERATED_FILES): Add warning.
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2021-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
* c-pch.c (c_common_no_more_pch): Pass a temporary void * var
|
||||
with NULL value instead of NULL to host_hooks.gt_pch_use_address.
|
||||
|
||||
2021-12-03 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2021-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
* c-decl.c (resort_field_decl_cmp): Pass the same pointer twice
|
||||
to resort_data.new_value.
|
||||
|
||||
2021-12-08 Chung-Lin Tang <cltang@codesourcery.com>
|
||||
|
||||
* c-parser.c (struct omp_dim): New struct type for use inside
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
2021-12-09 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/103401
|
||||
* parser.c (cp_parser_decltype): Clear
|
||||
auto_is_implicit_function_template_parm_p.
|
||||
(cp_parser_type_id_1): Give errors only when !cp_parser_simulate_error.
|
||||
(cp_parser_parameter_declaration): Clear
|
||||
auto_is_implicit_function_template_parm_p after parsing the
|
||||
decl-specifier-seq.
|
||||
(cp_parser_sizeof_operand): Clear
|
||||
auto_is_implicit_function_template_parm_p.
|
||||
|
||||
2021-12-09 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/71934
|
||||
* module.cc (nop): Add another void * argument.
|
||||
* name-lookup.c (resort_member_name_cmp): Pass the same pointer twice
|
||||
to resort_data.new_value.
|
||||
|
||||
2021-12-08 Chung-Lin Tang <cltang@codesourcery.com>
|
||||
|
||||
* parser.c (struct omp_dim): New struct type for use inside
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2021-12-09 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* expr.cc: Call memcpy only when length != 0.
|
||||
|
||||
2021-12-08 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
* dmd/MERGE: Merge upstream dmd 568496d5b.
|
||||
|
|
|
@ -1,3 +1,54 @@
|
|||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR tree-optimization/103215
|
||||
* gcc.dg/Wstringop-overflow-58.c: Adjust and xfail expected warnings.
|
||||
* gcc.dg/Wstringop-overflow-59.c: Same.
|
||||
* gcc.dg/warn-strnlen-no-nul.c: Same.
|
||||
* gcc.dg/Warray-bounds-91.c: New test.
|
||||
* gcc.dg/Warray-bounds-92.c: New test.
|
||||
* gcc.dg/Wstringop-overflow-85.c: New test.
|
||||
* gcc.dg/Wstringop-overflow-87.c: New test.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/101751
|
||||
* gcc.dg/Wstringop-overflow-86.c: New test.
|
||||
|
||||
2021-12-09 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/103143
|
||||
* gcc.dg/Wstringop-overflow-83.c: New test.
|
||||
|
||||
2021-12-09 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/103401
|
||||
* g++.dg/cpp1y/lambda-generic-85713-2.C: Add dg-error.
|
||||
* g++.dg/cpp1y/pr60054.C: Adjust dg-error.
|
||||
* g++.dg/cpp1y/pr60332.C: Likewise.
|
||||
* g++.dg/cpp2a/concepts-pr84979-2.C: Likewise.
|
||||
* g++.dg/cpp2a/concepts-pr84979-3.C: Likewise.
|
||||
* g++.dg/cpp2a/concepts-pr84979.C: Likewise.
|
||||
* g++.dg/cpp23/auto-fncast7.C: New test.
|
||||
* g++.dg/cpp23/auto-fncast8.C: New test.
|
||||
* g++.dg/cpp23/auto-fncast9.C: New test.
|
||||
|
||||
2021-12-09 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
PR target/103097
|
||||
* gcc.target/i386/pr103097.c: New.
|
||||
|
||||
2021-12-09 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
PR target/103302
|
||||
* gcc.target/riscv/pr103302.c: New.
|
||||
|
||||
2021-12-09 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
PR tree-optimization/103024
|
||||
PR middle-end/103530
|
||||
* g++.dg/pr103024.C: New.
|
||||
* g++.dg/pr103530.C: New.
|
||||
|
||||
2021-12-08 Harald Anlauf <anlauf@gmx.de>
|
||||
|
||||
PR fortran/103609
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
2021-12-09 Fred Konrad <konrad@adacore.com>
|
||||
|
||||
* config.host (powerpc*-wrs-vxworks7*): Fix path to
|
||||
rs6000/t-ppc64-fp, relative to config/ not libgcc/.
|
||||
|
||||
2021-12-09 Olivier Hainque <hainque@adacore.com>
|
||||
Rasmus Villemoes <rv@rasmusvillemoes.dk>
|
||||
|
||||
* config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
|
||||
$(LIBGCC2_INCLUDES).
|
||||
* config/t-vxworks7: Likewise.
|
||||
|
||||
2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
* config.host (*-*-darwin*): Add logic to build a shared
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
2021-12-09 Chung-Lin Tang <cltang@codesourcery.com>
|
||||
|
||||
* testsuite/libgomp.c++/target-lambda-1.C: Only run under
|
||||
"target offload_device_nonshared_as"
|
||||
* testsuite/libgomp.c++/target-this-3.C: Likewise.
|
||||
* testsuite/libgomp.c++/target-this-4.C: Likewise.
|
||||
|
||||
2021-12-08 Chung-Lin Tang <cltang@codesourcery.com>
|
||||
|
||||
* target.c (gomp_map_vars_existing): Make sure attached pointer is
|
||||
|
|
|
@ -1,3 +1,111 @@
|
|||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/stl_iterator.h (operator==, operator<=>): Define
|
||||
overloads for homogeneous specializations of reverse_iterator,
|
||||
__normal_iterator and move_iterator.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/20_util/scoped_allocator/69293_neg.cc: Remove
|
||||
dg-error for c++20.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/85813
|
||||
* libsupc++/exception_ptr.h (__dest_thunk): Add macro for
|
||||
destructor calling convention.
|
||||
(make_exception_ptr): Enable non-throwing implementation for
|
||||
-fno-exceptions and for non-standard calling conventions. Use
|
||||
always_inline attribute on the useless no-rtti no-exceptions
|
||||
definition.
|
||||
* testsuite/18_support/exception_ptr/64241.cc: Add -fno-rtti so
|
||||
the no-op implementation is still used.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/103630
|
||||
* libsupc++/exception_ptr.h (exception_ptr): Fix exception
|
||||
specifications on inline definitions.
|
||||
(make_exception_ptr): Decay the template parameter. Use typeid
|
||||
of the static type.
|
||||
* testsuite/18_support/exception_ptr/103630.cc: New test.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/59769
|
||||
* config/io/basic_file_stdio.cc (fopen_mode): Add support for
|
||||
exclusive mode.
|
||||
* include/bits/ios_base.h (_S_noreplace): Define new enumerator.
|
||||
(ios_base::__noreplace): Define.
|
||||
(ios_base::noreplace): Define for C++23.
|
||||
* include/std/version (__cpp_lib_ios_noreplace): Define.
|
||||
* testsuite/27_io/basic_ofstream/open/char/noreplace.cc: New test.
|
||||
* testsuite/27_io/basic_ofstream/open/wchar_t/noreplace.cc: New test.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/103382
|
||||
* config/abi/pre/gnu.ver (GLIBCXX_3.4.11): Do not export old
|
||||
symbol if .symver renaming is supported.
|
||||
(GLIBCXX_3.4.30): Export new symbol if .symver renaming is
|
||||
supported.
|
||||
* doc/xml/manual/evolution.xml: Document change.
|
||||
* doc/html/manual/api.html: Regenerate.
|
||||
* include/bits/std_mutex.h (__condvar::wait, __condvar::wait_until):
|
||||
Remove noexcept.
|
||||
* include/std/condition_variable (condition_variable::wait):
|
||||
Likewise.
|
||||
* src/c++11/condition_variable.cc (condition_variable::wait):
|
||||
Likewise.
|
||||
* src/c++11/compatibility-condvar.cc (__nothrow_wait_cv::wait):
|
||||
Define nothrow wrapper around std::condition_variable::wait and
|
||||
export the old symbol as an alias to it.
|
||||
* testsuite/30_threads/condition_variable/members/103382.cc: New test.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/92300
|
||||
* include/bits/stl_map.h (insert(Pair&&), emplace(Args&&...)):
|
||||
Check whether the arguments can be looked up directly without
|
||||
constructing a temporary node first.
|
||||
* include/bits/stl_pair.h (__is_pair): Move to here, from ...
|
||||
* include/bits/uses_allocator_args.h (__is_pair): ... here.
|
||||
* testsuite/23_containers/map/modifiers/emplace/92300.cc: New test.
|
||||
* testsuite/23_containers/map/modifiers/insert/92300.cc: New test.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/cow_string.h (basic_string::_M_leak_hard): Do not
|
||||
reallocate an empty string.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/103332
|
||||
PR libstdc++/102958
|
||||
PR libstdc++/103483
|
||||
* include/bits/char_traits.h: Suppress stringop and array-bounds
|
||||
warnings.
|
||||
|
||||
2021-12-09 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/64135
|
||||
* config/allocator/new_allocator_base.h: Include
|
||||
<bits/new_allocator.h> instead of <ext/new_allocator.h>.
|
||||
(__allocator_base): Use std::__new_allocator instead of
|
||||
__gnu_cxx::new_allocator.
|
||||
* doc/xml/manual/allocator.xml: Document new default base class
|
||||
for std::allocator.
|
||||
* doc/xml/manual/evolution.xml: Likewise.
|
||||
* doc/html/*: Regenerate.
|
||||
* include/Makefile.am: Add bits/new_allocator.h.
|
||||
* include/Makefile.in: Regenerate.
|
||||
* include/experimental/memory_resource (new_delete_resource):
|
||||
Use std::__new_allocator instead of __gnu_cxx::new_allocator.
|
||||
* include/ext/new_allocator.h (new_allocator): Derive from
|
||||
std::__new_allocator. Move implementation to ...
|
||||
* include/bits/new_allocator.h: New file.
|
||||
* testsuite/20_util/allocator/64135.cc: New test.
|
||||
|
||||
2021-12-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/shared_ptr_base.h (_Sp_counted_base::_M_release()):
|
||||
|
|
Loading…
Add table
Reference in a new issue