mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 17:11:01 +08:00
Daily bump.
This commit is contained in:
parent
81a3f3d1b6
commit
82e5048e70
127
gcc/ChangeLog
127
gcc/ChangeLog
@ -1,3 +1,130 @@
|
||||
2020-11-20 Michael Meissner <meissner@linux.ibm.com>
|
||||
|
||||
* config/rs6000/rs6000-call.c (rs6000_expand_builtin): Add missing
|
||||
XSCMP* cases for IEEE 128-bit long double.
|
||||
|
||||
2020-11-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/97918
|
||||
* dwarf2out.c (dwarf2out_early_finish): flush_limbo_die_list
|
||||
after gen_scheduled_generic_parms_dies.
|
||||
|
||||
2020-11-20 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/97879
|
||||
* tree-core.h (enum attribute_flags): Add ATTR_FLAG_INTERNAL.
|
||||
|
||||
2020-11-20 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-icf-gimple.c (func_checker::hash_operand): Improve hashing of
|
||||
decls.
|
||||
|
||||
2020-11-20 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-icf-gimple.c (func_checker::compare_decl): Do not compare types
|
||||
of local variables.
|
||||
|
||||
2020-11-20 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* doc/invoke.texi: Replace a couple of @code with @command
|
||||
|
||||
2020-11-20 Tamar Christina <tamar.christina@arm.com>
|
||||
|
||||
* tree-vect-slp.c (vectorizable_slp_permutation): Update types on nodes
|
||||
when needed.
|
||||
|
||||
2020-11-20 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree-vect-slp.c (maybe_push_to_hybrid_worklist): New function.
|
||||
(vect_detect_hybrid_slp): Use it. Perform a backward walk
|
||||
over the IL.
|
||||
|
||||
2020-11-20 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree-vect-slp.c (vect_print_slp_tree): Also dump
|
||||
SLP_TREE_REPRESENTATIVE.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR libstdc++/88101
|
||||
* builtins.def (BUILT_IN_CLEAR_PADDING): New built-in function.
|
||||
* gimplify.c (gimplify_call_expr): Rewrite single argument
|
||||
BUILT_IN_CLEAR_PADDING into two-argument variant.
|
||||
* gimple-fold.c (clear_padding_unit, clear_padding_buf_size): New
|
||||
const variables.
|
||||
(struct clear_padding_struct): New type.
|
||||
(clear_padding_flush, clear_padding_add_padding,
|
||||
clear_padding_emit_loop, clear_padding_type,
|
||||
clear_padding_union, clear_padding_real_needs_padding_p,
|
||||
clear_padding_type_may_have_padding_p,
|
||||
gimple_fold_builtin_clear_padding): New functions.
|
||||
(gimple_fold_builtin): Handle BUILT_IN_CLEAR_PADDING.
|
||||
* doc/extend.texi (__builtin_clear_padding): Document.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/97528
|
||||
* config/arm/arm.c (neon_vector_mem_operand): For POST_MODIFY, require
|
||||
first POST_MODIFY operand is a REG and is equal to the first operand
|
||||
of PLUS.
|
||||
|
||||
2020-11-20 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gimple-ssa-store-merging.c (struct merged_store_group): Add
|
||||
new 'consecutive' field.
|
||||
(merged_store_group): Set it to true.
|
||||
(do_merge): Set it to false if the store is not consecutive and
|
||||
set string_concatenation to false in this case.
|
||||
(merge_into): Call do_merge on entry.
|
||||
(merge_overlapping): Likewise.
|
||||
|
||||
2020-11-20 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-icf-gimple.c (func_checker::operand_equal_p): Fix comment.
|
||||
|
||||
2020-11-20 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-icf-gimple.c (func_checker::hash_operand): Hash gimple clobber.
|
||||
(func_checker::operand_equal_p): Special case gimple clobber.
|
||||
|
||||
2020-11-20 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/97873
|
||||
* config/i386/i386.md (*neg<mode>2_2): Rename from
|
||||
"*neg<mode>2_cmpz". Use CCGOCmode instead of CCZmode.
|
||||
(*negsi2_zext): Rename from *negsi2_cmpz_zext.
|
||||
Use CCGOCmode instead of CCZmode.
|
||||
(*neg<mode>_ccc_1): New insn pattern.
|
||||
(*neg<dwi>2_doubleword): Use *neg<mode>_ccc_1.
|
||||
(abs<mode>2): Add FLAGS_REG clobber.
|
||||
Use TARGET_CMOVE insn predicate.
|
||||
(*abs<mode>2_1): New insn_and_split pattern.
|
||||
(*absdi2_doubleword): Ditto.
|
||||
(<maxmin:code><mode>3): Use SWI48x mode iterator.
|
||||
(*<maxmin:code><mode>3): Use SWI48 mode iterator.
|
||||
* config/i386/i386-features.c
|
||||
(general_scalar_chain::compute_convert_gain): Handle ABS code.
|
||||
(general_scalar_chain::convert_insn): Ditto.
|
||||
(general_scalar_to_vector_candidate_p): Ditto.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* configure.ac: In SERIAL_LIST use lang words without .serial
|
||||
suffix. Change $lang.prev from a target to variable and instead
|
||||
of depending on *.serial expand to the *.serial variable if
|
||||
the word is in the SERIAL_LIST at all, otherwise to nothing.
|
||||
* configure: Regenerated.
|
||||
|
||||
2020-11-20 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
* config/rs6000/rs6000.md (p8_mtvsrd_df): Fix insn type.
|
||||
|
||||
2020-11-20 Martin Uecker <muecker@gwdg.de>
|
||||
|
||||
* gimplify.c (gimplify_modify_expr_rhs): Optimizie
|
||||
NOP_EXPRs that contain compound literals.
|
||||
|
||||
2020-11-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/91029
|
||||
|
@ -1 +1 @@
|
||||
20201120
|
||||
20201121
|
||||
|
@ -1,3 +1,17 @@
|
||||
2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
|
||||
|
||||
* adaint.c (__gnat_number_of_cpus): Check for the presence of
|
||||
_SC_NPROCESSORS_ONLN rather than a list of OS-specific macros
|
||||
to decide whether to use `sysconf'.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* gcc-interface/Make-lang.in (ada.serial): Change from goal to a
|
||||
variable.
|
||||
(.PHONY): Drop ada.serial and ada.prev.
|
||||
(gnat1$(exeext)): Depend on $(ada.serial) rather than ada.serial.
|
||||
|
||||
2020-11-19 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR ada/97805
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (brig.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop brig.serial and brig.prev.
|
||||
(brig1$(exeext)): Depend on $(brig.serial) rather than brig.serial.
|
||||
|
||||
2020-11-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Make-lang.in (brig.serial): New goal.
|
||||
|
@ -1,3 +1,20 @@
|
||||
2020-11-20 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* c-warn.c (warn_parm_array_mismatch): Bail on invalid redeclarations
|
||||
with fewer arguments.
|
||||
|
||||
2020-11-20 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/97879
|
||||
* c-attribs.c (handle_access_attribute): Handle ATTR_FLAG_INTERNAL.
|
||||
Error out on invalid modes.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR libstdc++/88101
|
||||
* c-common.c (check_builtin_function_arguments): Handle
|
||||
BUILT_IN_CLEAR_PADDING.
|
||||
|
||||
2020-11-18 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* c-lex.c (c_lex_with_flags): CPP_HEADER_NAMEs can now be seen.
|
||||
|
@ -1,3 +1,18 @@
|
||||
2020-11-20 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/97879
|
||||
* c-decl.c (start_function): Set ATTR_FLAG_INTERNAL in flags.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (c.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop c.serial.
|
||||
|
||||
2020-11-20 Martin Uecker <muecker@gwdg.de>
|
||||
|
||||
* c-typeck.c (convert_lvalue_to_rvalue): Drop qualifiers.
|
||||
|
||||
2020-11-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c/97860
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (c++.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop c++.serial and c++.prev.
|
||||
(cc1plus$(exeext)): Depend on $(c++.serial) rather than c++.serial.
|
||||
|
||||
2020-11-19 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* cp-tree.h (struct spec_entry): Moved from pt.c.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (d.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop d.serial and d.prev.
|
||||
(d21$(exeext)): Depend on $(d.serial) rather than d.serial.
|
||||
|
||||
2020-11-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Make-lang.in (d.serial): New goal.
|
||||
|
@ -1,3 +1,11 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (fortran.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop fortran.serial and fortran.prev.
|
||||
(f951$(exeext)): Depend on $(fortran.serial) rather than
|
||||
fortran.serial.
|
||||
|
||||
2020-11-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Make-lang.in (fortran.serial): New goal.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (go.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop go.serial and go.prev.
|
||||
(go1$(exeext)): Depend on $(go.serial) rather than go.serial.
|
||||
|
||||
2020-11-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Make-lang.in (go.serial): New goal.
|
||||
|
@ -1,3 +1,12 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (jit.serial): Change from goal to a
|
||||
variable.
|
||||
(.PHONY): Drop jit.serial and jit.prev.
|
||||
($(LIBGCCJIT_FILENAME)): Depend on $(jit.serial) rather than
|
||||
jit.serial.
|
||||
|
||||
2020-11-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Make-lang.in (jit.serial): New goal.
|
||||
|
@ -1,3 +1,12 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (lto1.serial, lto2.serial): Change from goals to
|
||||
variables.
|
||||
(.PHONY): Drop lto1.serial, lto2.serial, lto1.prev and lto2.prev.
|
||||
($(LTO_EXE)): Depend on $(lto1.serial) rather than lto1.serial.
|
||||
($(LTO_DUMP_EXE)): Depend on $(lto2.serial) rather than lto2.serial.
|
||||
|
||||
2020-11-18 Jerry Clcanny <a837940593@gmail.com>
|
||||
|
||||
* lto-symtab.c (lto_symtab_merge_symbols): Fix typos in comment.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (objc.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop objc.serial and objc.prev.
|
||||
(cc1obj$(exeext)): Depend on $(objc.serial) rather than objc.serial.
|
||||
|
||||
2020-11-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Make-lang.in (objc.serial): New goal.
|
||||
|
@ -1,3 +1,11 @@
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR other/97911
|
||||
* Make-lang.in (obj-c++.serial): Change from goal to a variable.
|
||||
(.PHONY): Drop obj-c++.serial and obj-c++.prev.
|
||||
(cc1objplus$(exeext)): Depend on $(obj-c++.serial) rather than
|
||||
obj-c++.serial.
|
||||
|
||||
2020-11-18 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Make-lang.in (obj-c++.serial): New goal.
|
||||
|
@ -1,3 +1,82 @@
|
||||
2020-11-20 Michael Meissner <meissner@linux.ibm.com>
|
||||
|
||||
* gcc.dg/nextafter-2.c: Include math.h.
|
||||
|
||||
2020-11-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/97918
|
||||
* g++.dg/debug/localclass2.C: New test.
|
||||
|
||||
2020-11-20 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* gcc.dg/attr-access-4.c: New test.
|
||||
|
||||
2020-11-20 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/97879
|
||||
* gcc.dg/attr-access-3.c: New test.
|
||||
|
||||
2020-11-20 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gcc.dg/pr97515.c: Check in ccp2, not evrp.
|
||||
|
||||
2020-11-20 Andrea Corallo <andrea.corallo@arm.com>
|
||||
|
||||
PR target/97727
|
||||
* gcc.target/aarch64/advsimd-intrinsics/bf16_vstN_lane_2.c: Relax
|
||||
regexps.
|
||||
|
||||
2020-11-20 Andrea Corallo <andrea.corallo@arm.com>
|
||||
|
||||
PR target/97726
|
||||
* gcc.target/arm/simd/bf16_vldn_1.c: Relax regexps not to fail on
|
||||
big endian.
|
||||
* gcc.target/arm/simd/vldn_lane_bf16_1.c: Likewise
|
||||
* gcc.target/arm/simd/vmmla_1.c: Add -mfloat-abi=hard flag.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR libstdc++/88101
|
||||
* c-c++-common/builtin-clear-padding-1.c: New test.
|
||||
* c-c++-common/torture/builtin-clear-padding-1.c: New test.
|
||||
* c-c++-common/torture/builtin-clear-padding-2.c: New test.
|
||||
* c-c++-common/torture/builtin-clear-padding-3.c: New test.
|
||||
* c-c++-common/torture/builtin-clear-padding-4.c: New test.
|
||||
* c-c++-common/torture/builtin-clear-padding-5.c: New test.
|
||||
* g++.dg/torture/builtin-clear-padding-1.C: New test.
|
||||
* g++.dg/torture/builtin-clear-padding-2.C: New test.
|
||||
* gcc.dg/builtin-clear-padding-1.c: New test.
|
||||
|
||||
2020-11-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/97528
|
||||
* gcc.target/arm/pr97528.c: New test.
|
||||
|
||||
2020-11-20 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gnat.dg/opt90a.adb: New test.
|
||||
* gnat.dg/opt90b.adb: Likewise.
|
||||
* gnat.dg/opt90c.adb: Likewise.
|
||||
* gnat.dg/opt90d.adb: Likewise.
|
||||
* gnat.dg/opt90e.adb: Likewise.
|
||||
* gnat.dg/opt90a_pkg.ads: New helper.
|
||||
* gnat.dg/opt90b_pkg.ads: Likewise.
|
||||
* gnat.dg/opt90c_pkg.ads: Likewise.
|
||||
* gnat.dg/opt90d_pkg.ads: Likewise.
|
||||
* gnat.dg/opt90e_pkg.ads: Likewise.
|
||||
|
||||
2020-11-20 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/97873
|
||||
* gcc.target/i386/pr97873.c: New test.
|
||||
* gcc.target/i386/pr97873-1.c: New test.
|
||||
|
||||
2020-11-20 Martin Uecker <muecker@gwdg.de>
|
||||
|
||||
* gcc.dg/cond-constqual-1.c: Adapt test.
|
||||
* gcc.dg/lvalue-11.c: New test.
|
||||
* gcc.dg/pr60195.c: Add warning.
|
||||
|
||||
2020-11-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/91029
|
||||
|
@ -1,3 +1,8 @@
|
||||
2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
|
||||
|
||||
* unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
|
||||
(USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
|
||||
|
||||
2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
|
||||
|
||||
* config/msp430/lib2hw_mul.S (mult64_hw): New.
|
||||
|
@ -1,3 +1,97 @@
|
||||
2020-11-20 Thomas Rodgers <trodgers@redhat.com>
|
||||
|
||||
* include/Makefile.am (bits_headers): Add new header.
|
||||
* include/Makefile.in: Regenerate.
|
||||
* include/bits/atomic_base.h (__atomic_flag::wait): Define.
|
||||
(__atomic_flag::notify_one): Likewise.
|
||||
(__atomic_flag::notify_all): Likewise.
|
||||
(__atomic_base<_Itp>::wait): Likewise.
|
||||
(__atomic_base<_Itp>::notify_one): Likewise.
|
||||
(__atomic_base<_Itp>::notify_all): Likewise.
|
||||
(__atomic_base<_Ptp*>::wait): Likewise.
|
||||
(__atomic_base<_Ptp*>::notify_one): Likewise.
|
||||
(__atomic_base<_Ptp*>::notify_all): Likewise.
|
||||
(__atomic_impl::wait): Likewise.
|
||||
(__atomic_impl::notify_one): Likewise.
|
||||
(__atomic_impl::notify_all): Likewise.
|
||||
(__atomic_float<_Fp>::wait): Likewise.
|
||||
(__atomic_float<_Fp>::notify_one): Likewise.
|
||||
(__atomic_float<_Fp>::notify_all): Likewise.
|
||||
(__atomic_ref<_Tp>::wait): Likewise.
|
||||
(__atomic_ref<_Tp>::notify_one): Likewise.
|
||||
(__atomic_ref<_Tp>::notify_all): Likewise.
|
||||
(atomic_wait<_Tp>): Likewise.
|
||||
(atomic_wait_explicit<_Tp>): Likewise.
|
||||
(atomic_notify_one<_Tp>): Likewise.
|
||||
(atomic_notify_all<_Tp>): Likewise.
|
||||
* include/bits/atomic_wait.h: New file.
|
||||
* include/bits/atomic_timed_wait.h: New file.
|
||||
* include/bits/semaphore_base.h: New file.
|
||||
* include/std/atomic (atomic<bool>::wait): Define.
|
||||
(atomic<bool>::wait_one): Likewise.
|
||||
(atomic<bool>::wait_all): Likewise.
|
||||
(atomic<_Tp>::wait): Likewise.
|
||||
(atomic<_Tp>::wait_one): Likewise.
|
||||
(atomic<_Tp>::wait_all): Likewise.
|
||||
(atomic<_Tp*>::wait): Likewise.
|
||||
(atomic<_Tp*>::wait_one): Likewise.
|
||||
(atomic<_Tp*>::wait_all): Likewise.
|
||||
* include/std/latch: New file.
|
||||
* include/std/semaphore: New file.
|
||||
* include/std/version: Add __cpp_lib_semaphore and
|
||||
__cpp_lib_latch defines.
|
||||
* testsuite/29_atomics/atomic/wait_notify/bool.cc: New test.
|
||||
* testsuite/29_atomics/atomic/wait_notify/pointers.cc: Likewise.
|
||||
* testsuite/29_atomics/atomic/wait_notify/generic.cc: Liekwise.
|
||||
* testsuite/29_atomics/atomic_flag/wait_notify/1.cc: Likewise.
|
||||
* testsuite/29_atomics/atomic_float/wait_notify.cc: Likewise.
|
||||
* testsuite/29_atomics/atomic_integral/wait_notify.cc: Likewise.
|
||||
* testsuite/29_atomics/atomic_ref/wait_notify.cc: Likewise.
|
||||
* testsuite/30_threads/semaphore/1.cc: New test.
|
||||
* testsuite/30_threads/semaphore/2.cc: Likewise.
|
||||
* testsuite/30_threads/semaphore/least_max_value_neg.cc: Likewise.
|
||||
* testsuite/30_threads/semaphore/try_acquire.cc: Likewise.
|
||||
* testsuite/30_threads/semaphore/try_acquire_for.cc: Likewise.
|
||||
* testsuite/30_threads/semaphore/try_acquire_posix.cc: Likewise.
|
||||
* testsuite/30_threads/semaphore/try_acquire_until.cc: Likewise.
|
||||
* testsuite/30_threads/latch/1.cc: New test.
|
||||
* testsuite/30_threads/latch/2.cc: New test.
|
||||
* testsuite/30_threads/latch/3.cc: New test.
|
||||
* testsuite/util/atomic/wait_notify_util.h: New File.
|
||||
|
||||
2020-11-20 François Dumont <fdumont@gcc.gnu.org>
|
||||
|
||||
PR libstdc++/83938
|
||||
* include/bits/stl_tempbuf.h (get_temporary_buffer): Change __len
|
||||
computation in the loop to avoid truncation.
|
||||
* include/bits/stl_algo.h:
|
||||
(__inplace_merge): Take temporary buffer length from smallest range.
|
||||
(__stable_sort): Limit temporary buffer length.
|
||||
* testsuite/25_algorithms/inplace_merge/1.cc (test4): New.
|
||||
* testsuite/performance/25_algorithms/stable_sort.cc: Test stable_sort
|
||||
under different heap memory conditions.
|
||||
* testsuite/performance/25_algorithms/inplace_merge.cc: New test.
|
||||
|
||||
2020-11-20 François Dumont <fdumont@gcc.gnu.org>
|
||||
|
||||
* include/bits/move.h (_GLIBCXX_FWDREF): New.
|
||||
* include/bits/stl_tree.h: Adapt to use latter.
|
||||
(_Rb_tree<>::_M_clone_node): Add _MoveValue template parameter.
|
||||
(_Rb_tree<>::_M_mbegin): New.
|
||||
(_Rb_tree<>::_M_begin): Use latter.
|
||||
(_Rb_tree<>::_M_copy): Add _MoveValues template parameter.
|
||||
* testsuite/23_containers/map/allocator/move_cons.cc: New test.
|
||||
* testsuite/23_containers/multimap/allocator/move_cons.cc: New test.
|
||||
* testsuite/23_containers/multiset/allocator/move_cons.cc: New test.
|
||||
* testsuite/23_containers/set/allocator/move_cons.cc: New test.
|
||||
|
||||
2020-11-20 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/92546
|
||||
* include/std/regex (pmr::smatch, pmr::wsmatch): Declare using
|
||||
underlying __normal_iterator type, not nested typedef
|
||||
basic_string::const_iterator.
|
||||
|
||||
2020-11-19 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/95989
|
||||
|
Loading…
x
Reference in New Issue
Block a user