aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fixincludes/ChangeLog8
-rw-r--r--gcc/ChangeLog179
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog13
-rw-r--r--gcc/c/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog13
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/po/ChangeLog4
-rw-r--r--gcc/testsuite/ChangeLog75
-rw-r--r--libbacktrace/ChangeLog9
-rw-r--r--libgomp/ChangeLog5
-rw-r--r--libstdc++-v3/ChangeLog46
12 files changed, 365 insertions, 1 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index 9d9b31a..af6873a 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,3 +1,11 @@
+2023-03-28 Xi Ruoyao <xry111@xry111.site>
+
+ PR other/109293
+ * configure.ac (AC_CHECK_DECLS): Add memmem.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * system.h (memmem): Declare if HAVE_DECL_MEMMEM is zero.
+
2023-02-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* inclhack.def (solaris_math_12): Add bypass.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1205dc3..09ad0fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,182 @@
+2023-03-28 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/107002
+ * diagnostic-show-locus.cc (column_range::column_range): Factor
+ out assertion conditional into...
+ (column_range::valid_p): ...this new function.
+ (line_corrections::add_hint): Don't attempt to consolidate hints
+ if it would lead to invalid column_range instances.
+
+2023-03-28 Kito Cheng <kito.cheng@sifive.com>
+
+ PR target/109312
+ * config/riscv/riscv-c.cc (riscv_ext_version_value): New.
+ (riscv_cpu_cpp_builtins): Define __riscv_v_intrinsic and
+ minor refactor.
+
+2023-03-28 Alexander Monakov <amonakov@ispras.ru>
+
+ PR rtl-optimization/109187
+ * haifa-sched.cc (autopref_rank_for_schedule): Avoid use of overflowing
+ subtraction in three-way comparison.
+
+2023-03-28 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/109265
+ PR tree-optimization/109274
+ * gimple-range-gori.cc (gori_compute::compute_operand_range): Do
+ not create a relation record is op1 and op2 are the same symbol.
+ (gori_compute::compute_operand1_range): Pass op1 == op2 to the
+ handler for this stmt, but create a new record only if this statement
+ generates a relation based on the ranges.
+ (gori_compute::compute_operand2_range): Ditto.
+ * value-relation.h (value_relation::set_relation): Always create the
+ record that is requested.
+
+2023-03-28 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/107087
+ * tree-ssa-forwprop.cc (pass_forwprop::execute): Track
+ executable regions to avoid useless work and to better
+ propagate degenerate PHIs.
+
+2023-03-28 Costas Argyris <costas.argyris@gmail.com>
+
+ * config/i386/x-mingw32-utf8: update comments.
+
+2023-03-28 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/109072
+ * config/aarch64/aarch64-protos.h (aarch64_vector_load_decl): Declare.
+ * config/aarch64/aarch64.h (machine_function::vector_load_decls): New
+ variable.
+ * config/aarch64/aarch64-builtins.cc (aarch64_record_vector_load_arg):
+ New function.
+ (aarch64_general_gimple_fold_builtin): Delay folding of vld1 until
+ after inlining. Record which decls are loaded from. Fix handling
+ of vops for loads and stores.
+ * config/aarch64/aarch64.cc (aarch64_vector_load_decl): New function.
+ (aarch64_accesses_vector_load_decl_p): Likewise.
+ (aarch64_vector_costs::m_stores_to_vector_load_decl): New member
+ variable.
+ (aarch64_vector_costs::add_stmt_cost): If the function has a vld1
+ that loads from a decl, treat vector stores to those decls as
+ zero cost.
+ (aarch64_vector_costs::finish_cost): ...and in that case,
+ if the vector code does nothing more than a store, give the
+ prologue a zero cost as well.
+
+2023-03-28 Richard Biener <rguenther@suse.de>
+
+ PR bootstrap/84402
+ PR tree-optimization/108129
+ * genmatch.cc (lower_for): For (match ...) delay
+ substituting into the match operator if possible.
+ (dt_operand::gen_gimple_expr): For user_id look at the
+ first substitute for determining how to access operands.
+ (dt_operand::gen_generic_expr): Likewise.
+ (dt_node::gen_kids): Properly sort user_ids according
+ to their substitutes.
+ (dt_node::gen_kids_1): Code-generate user_id matching.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+ Jonathan Wakely <jwakely@redhat.com>
+
+ * gcov-tool.cc (do_merge, do_merge_stream, do_rewrite, do_overlap):
+ Use subcommand rather than sub-command in function comments.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/109154
+ * value-range.h (frange::flush_denormals_to_zero): Make it public
+ rather than private.
+ * value-range.cc (frange::set): Don't call flush_denormals_to_zero
+ here.
+ * range-op-float.cc (range_operator_float::fold_range): Call
+ flush_denormals_to_zero.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/106190
+ * sanopt.cc (pass_sanopt::execute): Return TODO_cleanup_cfg if any
+ of the IFN_{UB,HWA,A}SAN_* internal fns are lowered.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ * range-op-float.cc (float_widen_lhs_range): Use pass get_nan_state
+ as 4th argument to set to avoid clear_nan and union_ calls.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/109276
+ * config/i386/i386.cc (assign_386_stack_local): For DImode
+ with SLOT_FLOATxFDI_387 and -m32 -mpreferred-stack-boundary=2 pass
+ align 32 rather than 0 to assign_stack_local.
+
+2023-03-28 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR target/109140
+ * config/sparc/sparc.cc (sparc_expand_vcond): Call signed_condition
+ on operand #3 to get the final condition code. Use std::swap.
+ * config/sparc/sparc.md (vcondv8qiv8qi): New VIS 4 expander.
+ (fucmp<gcond:code>8<P:mode>_vis): Move around.
+ (fpcmpu<gcond:code><GCM:gcm_name><P:mode>_vis): Likewise.
+ (vcondu<GCM:mode><GCM:mode>): New VIS 4 expander.
+
+2023-03-28 Eric Botcazou <ebotcazou@adacore.com>
+
+ * doc/gm2.texi: Add missing Next, Previous and Top fields to most
+ top-level sections.
+
+2023-03-28 Costas Argyris <costas.argyris@gmail.com>
+
+ * config.host: Pull in i386/x-mingw32-utf8 Makefile
+ fragment and reference utf8rc-mingw32.o explicitly
+ for mingw hosts.
+ * config/i386/sym-mingw32.cc: prevent name mangling of
+ stub symbol.
+ * config/i386/x-mingw32-utf8: Make utf8rc-mingw32.o
+ depend on manifest file explicitly.
+
+2023-03-28 Richard Biener <rguenther@suse.de>
+
+ Revert:
+ 2023-03-27 Richard Biener <rguenther@suse.de>
+
+ PR rtl-optimization/109237
+ * cfgcleanup.cc (bb_is_just_return): Walk insns backwards.
+
+2023-03-28 Richard Biener <rguenther@suse.de>
+
+ * common.opt (gdwarf): Remove Negative(gdwarf-).
+
+2023-03-28 Richard Biener <rguenther@suse.de>
+
+ * common.opt (gdwarf): Add RejectNegative.
+ (gdwarf-): Likewise.
+ (ggdb): Likewise.
+ (gvms): Likewise.
+
+2023-03-28 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/cris/constraints.md ("T"): Correct to
+ define_memory_constraint.
+
+2023-03-28 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/cris/cris.md (BW2): New mode-iterator.
+ (lra_szext_decomposed, lra_szext_decomposed_indirect_with_offset): New
+ peephole2s.
+
+2023-03-28 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/cris/cris.md ("*add<mode>3_addi"): Improve to bail only
+ for possible eliminable compares.
+
+2023-03-28 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/cris/constraints.md ("R"): Remove unused constraint.
+
2023-03-27 Jonathan Wakely <jwakely@redhat.com>
PR gcov-profile/109297
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 1f5084a..8696380 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230328
+20230329
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 929a95f..2fd0d5a 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,16 @@
+2023-03-28 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/107002
+ * c-common.h (check_for_xor_used_as_pow): Add "rhs_loc" param.
+ * c-warn.cc (check_for_xor_used_as_pow): Add "rhs_loc" param.
+ Reject cases where involving macro expansions.
+
+2023-03-28 Jason Merrill <jason@redhat.com>
+
+ PR c++/107163
+ * c-common.cc (verify_tree): Don't use sequenced handling
+ for COMPONENT_REF.
+
2023-03-17 Jakub Jelinek <jakub@redhat.com>
PR c/109151
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 11eca92..f23b3ba 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-28 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/107002
+ * c-typeck.cc (parser_build_binary_op): Update for new param of
+ check_for_xor_used_as_pow.
+
2023-03-10 Jakub Jelinek <jakub@redhat.com>
PR c/108079
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 200404e..5f3cd10 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,16 @@
+2023-03-28 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/107002
+ * parser.cc (cp_parser_binary_expression): Update for new param of
+ check_for_xor_used_as_pow.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/109309
+ * contracts.cc: Include intl.h.
+ (check_postcondition_result): Don't form diagnostics from two halves
+ of an English message to allow translations.
+
2023-03-24 Patrick Palka <ppalka@redhat.com>
PR c++/106969
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index e93eeb5..ff39055 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/109314
+ * openmp.cc (gfc_omp_absent_contains_clause): Fix typo in diagnostics
+ - composit -> composite.
+
2023-03-25 Harald Anlauf <anlauf@gmx.de>
PR fortran/104321
diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog
index 5d12caf..9f01ee6 100644
--- a/gcc/po/ChangeLog
+++ b/gcc/po/ChangeLog
@@ -1,3 +1,7 @@
+2023-03-28 Joseph Myers <joseph@codesourcery.com>
+
+ * de.po: Update.
+
2023-03-20 Joseph Myers <joseph@codesourcery.com>
* sv.po: Update.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0856603..21d4b9d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,78 @@
+2023-03-28 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gfortran.dg/weak-2.f90: Enable for nvptx target.
+
+2023-03-28 David Malcolm <dmalcolm@redhat.com>
+
+ PR c/107002
+ * c-c++-common/Wxor-used-as-pow-1.c: Add macro test.
+ * c-c++-common/Wxor-used-as-pow-pr107002-0.c: New test.
+ * c-c++-common/Wxor-used-as-pow-pr107002-1.c: New test.
+ * c-c++-common/Wxor-used-as-pow-pr107002-2.c: New test.
+
+2023-03-28 Jason Merrill <jason@redhat.com>
+
+ PR c++/107163
+ * g++.dg/warn/Wsequence-point-5.C: New test.
+
+2023-03-28 Kito Cheng <kito.cheng@sifive.com>
+
+ PR target/109312
+ * gcc.target/riscv/predef-__riscv_v_intrinsic.c: New test.
+
+2023-03-28 Alexander Monakov <amonakov@ispras.ru>
+
+ PR rtl-optimization/109187
+ * gcc.dg/pr109187.c: New test.
+
+2023-03-28 Andrew MacLeod <amacleod@redhat.com>
+
+ PR tree-optimization/109265
+ PR tree-optimization/109274
+ * gcc.dg/pr109274.c: New.
+ * gfortran.dg/pr109265.f90: New.
+
+2023-03-28 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/107087
+ * g++.dg/pr107087.C: New testcase.
+
+2023-03-28 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/109072
+ * gcc.target/aarch64/pr109072_1.c: New test.
+ * gcc.target/aarch64/pr109072_2.c: Likewise.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/106190
+ * gcc.dg/asan/pr106190.c: New test.
+
+2023-03-28 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc.target/sparc/20230328-1.c: New test.
+ * gcc.target/sparc/20230328-2.c: Likewise.
+ * gcc.target/sparc/20230328-3.c: Likewise.
+ * gcc.target/sparc/20230328-4.c: Likewise.
+
+2023-03-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/109276
+ * gcc.target/i386/pr109276.c: New test.
+
+2023-03-28 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc.target/sparc/20230328-1.c: New test.
+ * gcc.target/sparc/20230328-2.c: Likewise.
+ * gcc.target/sparc/20230328-3.c: Likewise.
+ * gcc.target/sparc/20230328-4.c: Likewise.
+
+2023-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * lib/target-supports.exp (add_options_for_weak_undefined): Escape
+ brackets.
+ * gcc.dg/visibility-22.c: Add weak_undefined options.
+
2023-03-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/54498
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 73740ec..c2066eb 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,12 @@
+2023-03-28 Ian Lance Taylor <iant@golang.org>
+
+ * elf.c (elf_zstd_read_fse): Call elf_fetch_bits after reading
+ bits, not before. Add unlikely for error case.
+ (elf_zstd_offset_table): Regenerate.
+ (elf_zstd_read_huff): Clear 13 entries in weight_mark, not 12.
+ (elf_zstd_read_literals): For a single stream adjust by
+ total_streams_size, not compressed_size.
+
2023-01-20 Ian Lance Taylor <iant@golang.org>
* dwarf.c (struct function_addrs): Change low and high fields to
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index e9f3073..c50e591 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2.c: Add
+ weak_undefined options.
+
2023-03-24 Tobias Burnus <tobias@codesourcery.com>
* libgomp.texi (Offload-Target Specifics): Grammar fix.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 36e7f79..b628e1b 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,49 @@
+2023-03-28 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/103387
+ * include/bits/istream.tcc (istream::_M_extract(ValueT&)): Use
+ std::use_facet instead of cached _M_num_get facet.
+ (istream::operator>>(short&)): Likewise.
+ (istream::operator>>(int&)): Likewise.
+ * include/bits/ostream.tcc (ostream::_M_insert(ValueT)): Use
+ std::use_facet instead of cached _M_num_put facet.
+
+2023-03-28 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/char_traits.h (char_traits::copy): Return without
+ using memcpy if n==0.
+ (char_traits::assign): Likewise for memset.
+
+2023-03-28 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/109299
+ * include/bits/basic_string.h (basic_string::_M_is_local()): Add
+ hint for compiler that local strings fit in the local buffer.
+
+2023-03-28 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/109288
+ * include/std/chrono (__detail::__get_leap_second_info): Update
+ expiry date of hardcoded leapseconds list.
+ * src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds()):
+ Likewise.
+ * src/c++20/tzdata.zi: Import new file from 2023a release.
+ * testsuite/std/time/time_zone/get_info_local.cc: Only check
+ transitions for Egypt up to 2014.
+
+2023-03-28 Matthias Kretz <m.kretz@gsi.de>
+
+ * include/experimental/bits/simd.h (is_simd_flag_type): New.
+ (_IsSimdFlagType): New.
+ (copy_from, copy_to, load ctors): Constrain _Flags using
+ _IsSimdFlagType.
+
+2023-03-28 Matthias Kretz <m.kretz@gsi.de>
+
+ * include/experimental/bits/simd_x86.h (_SimdImplX86): Use
+ _Base::_S_divides if the optimized _S_divides function is hidden
+ via the preprocessor.
+
2023-03-27 Jakub Jelinek <jakub@redhat.com>
* testsuite/experimental/net/timer/waitable/dest.cc: Avoid -Wformat