aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog101
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog62
-rw-r--r--libsanitizer/ChangeLog5
-rw-r--r--libstdc++-v3/ChangeLog117
6 files changed, 292 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87b0e27..04757ba 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,104 @@
+2021-08-03 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * config/rs6000/vsx.md (*vsx_le_perm_store_<mode>): Use && instead of &.
+
+2021-08-03 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * config/rs6000/constraints.md: Remove "e" from the list of available
+ constraint characters.
+
+2021-08-03 Eugene Rozenfeld <erozen@microsoft.com>
+
+ PR gcov-profile/71672
+ * auto-profile.c (afdo_indirect_call): Fix setup of the historgram value for indirect calls.
+
+2021-08-03 Paul A. Clarke <pc@us.ibm.com>
+
+ * config/rs6000/smmintrin.h (_mm_minpos_epu16): New.
+
+2021-08-03 H.J. Lu <hjl.tools@gmail.com>
+
+ * config/i386/i386.c (ix86_gen_scratch_sse_rtx): In 64-bit mode,
+ try XMM31 to avoid vzeroupper.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * doc/invoke.texi: Document -mtune=neoverse-512tvb and
+ -mcpu=neoverse-512tvb.
+ * config/aarch64/aarch64-cores.def (neoverse-512tvb): New entry.
+ * config/aarch64/aarch64-tune.md: Regenerate.
+ * config/aarch64/aarch64.c (neoverse512tvb_sve_vector_cost)
+ (neoverse512tvb_sve_issue_info, neoverse512tvb_vec_issue_info)
+ (neoverse512tvb_vector_cost, neoverse512tvb_tunings): New structures.
+ (aarch64_adjust_body_cost_sve): Handle -mtune=neoverse-512tvb.
+ (aarch64_adjust_body_cost): Likewise.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.c (aarch64_add_stmt_cost): Only
+ record issue information for operations that occur in the
+ innermost loop.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.c (aarch64_multiply_add_p): Add a vec_flags
+ parameter. Detect cases in which an Advanced SIMD MLA would almost
+ certainly require a MOV.
+ (aarch64_count_ops): Update accordingly.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.c (aarch64_is_store_elt_extraction): New
+ function, split out from...
+ (aarch64_detect_vector_stmt_subtype): ...here.
+ (aarch64_add_stmt_cost): Treat extracting element 0 as free.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64-protos.h (sve_vec_cost):
+ Add gather_load_x32_cost and gather_load_x64_cost.
+ * config/aarch64/aarch64.c (generic_sve_vector_cost)
+ (a64fx_sve_vector_cost, neoversev1_sve_vector_cost): Update
+ accordingly, using the values given by the scalar_load * number
+ of elements calculation that we used previously.
+ (aarch64_detect_vector_stmt_subtype): Use the new fields.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.c (aarch64_adjust_body_cost_sve): New
+ function, split out from...
+ (aarch64_adjust_body_cost): ...here.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/fractional-cost.h: New file.
+ * config/aarch64/aarch64.c: Include <algorithm> (indirectly)
+ and cost_fraction.h.
+ (vec_cost_fraction): New typedef.
+ (aarch64_detect_scalar_stmt_subtype): Use it for statement costs.
+ (aarch64_detect_vector_stmt_subtype): Likewise.
+ (aarch64_sve_adjust_stmt_cost, aarch64_adjust_stmt_cost): Likewise.
+ (aarch64_estimate_min_cycles_per_iter): Use vec_cost_fraction
+ for cycle counts.
+ (aarch64_adjust_body_cost): Likewise.
+ (aarch64_test_cost_fraction): New function.
+ (aarch64_run_selftests): Call it.
+
+2021-08-03 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64-protos.h (tune_params::sve_width): Turn
+ into a bitmask.
+ * config/aarch64/aarch64.c (aarch64_cmp_autovec_modes): Update
+ accordingly.
+ (aarch64_estimated_poly_value): Likewise. Use the least significant
+ set bit for the minimum and likely values. Use the most significant
+ set bit for the maximum value.
+
+2021-08-03 liuhongt <hongtao.liu@intel.com>
+
+ * config/i386/sse.md (cond_<insn><mode>): New expander.
+ (cond_mul<mode>): Ditto.
+
2021-08-03 Kewen Lin <linkw@linux.ibm.com>
* tree-cfg.c (move_sese_region_to_fn): Fix typos on dloop.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index d34783f..856144c 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210803
+20210804
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 2da5aae5..4579796 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,9 @@
+2021-08-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR analyzer/101721
+ * sm-malloc.cc (known_allocator_p): Only check DECL_FUNCTION_CODE on
+ BUILT_IN_NORMAL builtins.
+
2021-07-29 Ankur Saini <arsenic@sourceware.org>
* call-string.cc (call_string::element_t::operator==): New operator.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3806434..097a5b5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,65 @@
+2021-08-03 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * lib/profopt.exp: Pass gdwarf-4 when compiling test to profile; pass -gcov_version=2.
+ * lib/target-supports.exp: Remove unnecessary -o perf.data passed to gcc-auto-profile.
+
+2021-08-03 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * gcc.dg/tree-prof/indir-call-prof-2.c: Fix dg-final-use-autofdo.
+ * lib/profopt.exp: Pass -fearly-inlining when compiling with AutoFDO.
+
+2021-08-03 Eugene Rozenfeld <erozen@microsoft.com>
+
+ * g++.dg/tree-prof/indir-call-prof.C: Fix options, increase the number of iterations.
+ * g++.dg/tree-prof/morefunc.C: Fix options, increase the number of iterations.
+ * g++.dg/tree-prof/reorder.C: Fix options, increase the number of iterations.
+ * gcc.dg/tree-prof/indir-call-prof-2.c: Fix options, increase the number of iterations.
+ * gcc.dg/tree-prof/indir-call-prof.c: Fix options.
+
+2021-08-03 Martin Sebor <msebor@redhat.com>
+
+ PR testsuite/101688
+ * g++.dg/warn/Wstringop-overflow-4.C: Disable a test case in ILP32.
+
+2021-08-03 Paul A. Clarke <pc@us.ibm.com>
+
+ * gcc.target/powerpc/sse4_1-phminposuw.c: Copy from
+ gcc/testsuite/gcc.target/i386, adjust dg directives to suit,
+ make more robust.
+
+2021-08-03 H.J. Lu <hjl.tools@gmail.com>
+
+ * gcc.target/i386/avx-vzeroupper-14.c: Pass -mno-avx512f to
+ disable XMM31.
+ * gcc.target/i386/avx-vzeroupper-15.c: Likewise.
+ * gcc.target/i386/pr82941-1.c: Updated. Check for vzeroupper.
+ * gcc.target/i386/pr82942-1.c: Likewise.
+ * gcc.target/i386/pr82990-1.c: Likewise.
+ * gcc.target/i386/pr82990-3.c: Likewise.
+ * gcc.target/i386/pr82990-5.c: Likewise.
+ * gcc.target/i386/pr100865-4b.c: Likewise.
+ * gcc.target/i386/pr100865-6b.c: Likewise.
+ * gcc.target/i386/pr100865-7b.c: Likewise.
+ * gcc.target/i386/pr100865-10b.c: Likewise.
+ * gcc.target/i386/pr100865-8b.c: Updated.
+ * gcc.target/i386/pr100865-9b.c: Likewise.
+ * gcc.target/i386/pr100865-11b.c: Likewise.
+ * gcc.target/i386/pr100865-12b.c: Likewise.
+
+2021-08-03 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/cond_op_addsubmul_d-1.c: New test.
+ * gcc.target/i386/cond_op_addsubmul_d-2.c: New test.
+ * gcc.target/i386/cond_op_addsubmul_q-1.c: New test.
+ * gcc.target/i386/cond_op_addsubmul_q-2.c: New test.
+ * gcc.target/i386/cond_op_addsubmul_w-1.c: New test.
+ * gcc.target/i386/cond_op_addsubmul_w-2.c: New test.
+
+2021-08-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR analyzer/101721
+ * gcc.dg/analyzer/pr101721.c: New test.
+
2021-08-03 H.J. Lu <hjl.tools@gmail.com>
PR target/80566
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog
index 765b7d4..ddf466b 100644
--- a/libsanitizer/ChangeLog
+++ b/libsanitizer/ChangeLog
@@ -1,3 +1,8 @@
+2021-08-03 Mosè Giordano <mose@gnu.org>
+
+ PR sanitizer/101111
+ * configure.tgt: Fix bashism in setting of `EXTRA_CXXFLAGS'.
+
2021-07-28 Ilya Leoshkevich <iii@linux.ibm.com>
* configure.tgt (s390*-*-linux*): Enable LSan and TSan for
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 28d9939..b21bb6c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,120 @@
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/random.tcc (linear_congruential_engine): Do not
+ define static constexpr members when they are implicitly inline.
+ * include/std/ratio (ratio, __ratio_multiply, __ratio_divide)
+ (__ratio_add, __ratio_subtract): Likewise.
+ * include/std/type_traits (integral_constant): Likewise.
+ * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error
+ line number.
+
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/util/testsuite_common_types.h: Replace uses of
+ tr1::unordered_map and tr1::unordered_set with their C++11
+ equivalents.
+ * testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust
+ dg-error line number.
+ * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
+ * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
+ Likewise.
+ * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc:
+ Likewise.
+ * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
+ Likewise.
+ * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
+ Likewise.
+ * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
+ Likewise.
+
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/memory_resource (polymorphic_allocator::delete_object):
+ Call destructor directly instead of using destroy.
+ (allocator_traits<polymorphic_allocator<T>>): Define partial
+ specialization.
+
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/20_util/function_objects/binders/3113.cc: Remove
+ trailing whitespace.
+ * testsuite/20_util/shared_ptr/assign/auto_ptr.cc: Likewise.
+ * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
+ * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc:
+ Likewise.
+ * testsuite/20_util/shared_ptr/creation/dr925.cc: Likewise.
+ * testsuite/25_algorithms/headers/algorithm/synopsis.cc:
+ Likewise.
+ * testsuite/25_algorithms/random_shuffle/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/random_shuffle/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/xml/manual/evolution.xml: Document deprecation.
+ * doc/html/*: Regenerate.
+ * include/bits/c++config (_GLIBCXX14_DEPRECATED): Define.
+ (_GLIBCXX14_DEPRECATED_SUGGEST): Define.
+ * include/bits/stl_algo.h (random_shuffle): Deprecate for C++14
+ and later.
+ * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust
+ for C++11 and C++14 changes to std::random_shuffle and
+ std::shuffle.
+ * testsuite/25_algorithms/random_shuffle/1.cc: Add options to
+ use deprecated algorithms.
+ * testsuite/25_algorithms/random_shuffle/59603.cc: Likewise.
+ * testsuite/25_algorithms/random_shuffle/moveable.cc: Likewise.
+ * testsuite/25_algorithms/random_shuffle/requirements/explicit_instantiation/2.cc:
+ Likewise.
+ * testsuite/25_algorithms/random_shuffle/requirements/explicit_instantiation/pod.cc:
+ Likewise.
+
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/23_containers/forward_list/operations/3.cc:
+ Use lambda instead of std::bind2nd.
+ * testsuite/20_util/function_objects/binders/3113.cc: Add
+ options for testing deprecated features.
+ * testsuite/20_util/pair/cons/99957.cc: Likewise.
+ * testsuite/20_util/shared_ptr/assign/auto_ptr.cc: Likewise.
+ * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
+ * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc:
+ Likewise.
+ * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
+ * testsuite/20_util/shared_ptr/cons/auto_ptr.cc: Likewise.
+ * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Likewise.
+ * testsuite/20_util/shared_ptr/creation/dr925.cc: Likewise.
+ * testsuite/20_util/unique_ptr/cons/auto_ptr.cc: Likewise.
+ * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
+ * testsuite/ext/pb_ds/example/priority_queue_erase_if.cc:
+ Likewise.
+ * testsuite/ext/pb_ds/example/priority_queue_split_join.cc:
+ Likewise.
+ * testsuite/lib/dg-options.exp (dg_add_options_using-deprecated):
+ New proc.
+
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/regex_executor.h (_State_info): Replace
+ unique_ptr<bool[]> with array of bool.
+ * include/bits/regex_executor.tcc: Likewise.
+ * include/bits/regex_scanner.tcc: Replace std::strchr with
+ __builtin_strchr.
+ * include/std/regex: Replace standard headers with smaller
+ internal ones.
+ * testsuite/28_regex/traits/char/lookup_classname.cc: Include
+ <string.h> for strlen.
+ * testsuite/28_regex/traits/char/lookup_collatename.cc:
+ Likewise.
+
+2021-08-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/locale_conv.h (__detail::_Scoped_ptr): Define new
+ RAII class template.
+ (wstring_convert, wbuffer_convert): Use __detail::_Scoped_ptr
+ instead of unique_ptr.
+
2021-08-02 Patrick Palka <ppalka@redhat.com>
PR libstdc++/101599