aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog133
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/cp/ChangeLog16
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog115
-rw-r--r--libstdc++-v3/ChangeLog8
6 files changed, 279 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0c4885..f51da64 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,136 @@
+2023-07-27 David Faust <david.faust@oracle.com>
+
+ PR target/110782
+ PR target/110784
+ * config/bpf/bpf.opt (msmov): New option.
+ * config/bpf/bpf.cc (bpf_option_override): Handle it here.
+ * config/bpf/bpf.md (*extendsidi2): New.
+ (extendhidi2): New.
+ (extendqidi2): New.
+ (extendsisi2): New.
+ (extendhisi2): New.
+ (extendqisi2): New.
+ * doc/invoke.texi (Option Summary): Add -msmov eBPF option.
+ (eBPF Options): Add -m[no-]smov. Document that -mcpu=v4
+ also enables -msmov.
+
+2023-07-27 David Faust <david.faust@oracle.com>
+
+ * doc/invoke.texi (Option Summary): Remove -mkernel eBPF option.
+ Add -mbswap and -msdiv eBPF options.
+ (eBPF Options): Remove -mkernel. Add -mno-{jmpext, jmp32,
+ alu32, v3-atomics, bswap, sdiv}. Document that -mcpu=v4 also
+ enables -msdiv.
+
+2023-07-27 David Faust <david.faust@oracle.com>
+
+ * config/bpf/bpf.md (add<AM:mode>3): Use %w2 instead of %w1
+ in pseudo-C dialect output template.
+ (sub<AM:mode>3): Likewise.
+
+2023-07-27 Jan Hubicka <jh@suse.cz>
+
+ * tree-vect-loop.cc (optimize_mask_stores): Make store
+ likely.
+
+2023-07-27 Jan Hubicka <jh@suse.cz>
+
+ * cfgloop.h (single_dom_exit): Declare.
+ * cfgloopmanip.h (update_exit_probability_after_unrolling): Declare.
+ * cfgrtl.cc (struct cfg_hooks): Fix comment.
+ * loop-unroll.cc (unroll_loop_constant_iterations): Update exit edge.
+ * tree-ssa-loop-ivopts.h (single_dom_exit): Do not declare it here.
+ * tree-ssa-loop-manip.cc (update_exit_probability_after_unrolling):
+ Break out from ...
+ (tree_transform_and_unroll_loop): ... here;
+
+2023-07-27 Jan Hubicka <jh@suse.cz>
+
+ * cfgloopmanip.cc (scale_dominated_blocks_in_loop): Move here from
+ tree-ssa-loop-manip.cc and avoid recursion.
+ (scale_loop_profile): Use scale_dominated_blocks_in_loop.
+ (duplicate_loop_body_to_header_edge): Add DLTHE_FLAG_FLAT_PROFILE
+ flag.
+ * cfgloopmanip.h (DLTHE_FLAG_FLAT_PROFILE): Define.
+ (scale_dominated_blocks_in_loop): Declare.
+ * predict.cc (dump_prediction): Do not ICE on uninitialized probability.
+ (change_edge_frequency): Remove.
+ * predict.h (change_edge_frequency): Remove.
+ * tree-ssa-loop-manip.cc (scale_dominated_blocks_in_loop): Move to
+ cfgloopmanip.cc.
+ (niter_for_unrolled_loop): Remove.
+ (tree_transform_and_unroll_loop): Fix profile update.
+
+2023-07-27 Jan Hubicka <jh@suse.cz>
+
+ * tree-ssa-loop-im.cc (execute_sm_if_changed): Turn cap probability
+ to guessed; fix count of new_bb.
+
+2023-07-27 Jan Hubicka <jh@suse.cz>
+
+ * profile-count.h (profile_count::apply_probability): Fix
+ handling of uninitialized probabilities, optimize scaling
+ by probability 1.
+
+2023-07-27 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/91838
+ * gimple-match-head.cc: Include attribs.h and asan.h.
+ * generic-match-head.cc: Likewise.
+ * match.pd (([rl]shift @0 out-of-bounds) -> zero): New pattern.
+
+2023-07-27 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv-modes.def (VECTOR_BOOL_MODE): Add VLS modes.
+ (ADJUST_ALIGNMENT): Ditto.
+ (ADJUST_PRECISION): Ditto.
+ (VLS_MODES): Ditto.
+ (VECTOR_MODE_WITH_PREFIX): Ditto.
+ * config/riscv/riscv-opts.h (TARGET_VECTOR_VLS): New macro.
+ * config/riscv/riscv-protos.h (riscv_v_ext_vls_mode_p): New function.
+ * config/riscv/riscv-v.cc (INCLUDE_ALGORITHM): Add include.
+ (legitimize_move): Enable basic VLS modes support.
+ (get_vlmul): Ditto.
+ (get_ratio): Ditto.
+ (get_vector_mode): Ditto.
+ * config/riscv/riscv-vector-switch.def (VLS_ENTRY): Add vls modes.
+ * config/riscv/riscv.cc (riscv_v_ext_vls_mode_p): New function.
+ (VLS_ENTRY): New macro.
+ (riscv_v_ext_mode_p): Add vls modes.
+ (riscv_get_v_regno_alignment): New function.
+ (riscv_print_operand): Add vls modes.
+ (riscv_hard_regno_nregs): Ditto.
+ (riscv_hard_regno_mode_ok): Ditto.
+ (riscv_regmode_natural_size): Ditto.
+ (riscv_vectorize_preferred_vector_alignment): Ditto.
+ * config/riscv/riscv.md: Ditto.
+ * config/riscv/vector-iterators.md: Ditto.
+ * config/riscv/vector.md: Ditto.
+ * config/riscv/autovec-vls.md: New file.
+
+2023-07-27 Pan Li <pan2.li@intel.com>
+
+ * config/riscv/riscv_vector.h (enum RVV_CSR): Removed.
+ (vread_csr): Ditto.
+ (vwrite_csr): Ditto.
+
+2023-07-27 demin.han <demin.han@starfivetech.com>
+
+ * config/riscv/autovec.md: Delete which_alternative use in split
+
+2023-07-27 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-sink.cc (sink_code_in_bb): Remove recursion, instead
+ use a worklist ...
+ (pass_sink_code::execute): ... in the caller.
+
+2023-07-27 Kewen Lin <linkw@linux.ibm.com>
+ Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/110776
+ * tree-vect-stmts.cc (vectorizable_load): Always cost VMAT_ELEMENTWISE
+ as scalar load.
+
2023-07-26 Xiao Zeng <zengxiao@eswincomputing.com>
* config/riscv/riscv.md: Include zicond.md
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 0c421bbb..3da940d 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230727
+20230728
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index f274877..ea59058 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,19 @@
+2023-07-27 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/110197
+ * constexpr.cc (cxx_eval_array_reference): Allow synthesizing an
+ empty subobject even if CONSTRUCTOR_NO_CLEARING is set.
+ (cxx_eval_bare_aggregate): Set 'no_slot' to true more generally
+ whenever new_ctx.ctor is set to NULL_TREE by init_subob_ctx,
+ i.e. whenever initializing an subobject of empty type.
+ (cxx_eval_vec_init_1): Define 'no_slot' as above and use it
+ accordingly.
+
+2023-07-27 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/103497
+ * pt.cc (type_uses_auto): Check inside parameter packs.
+
2023-07-26 Patrick Palka <ppalka@redhat.com>
PR c++/110566
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 1231d6b..799e7a6 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2023-07-27 Tobias Burnus <tobias@codesourcery.com>
+
+ * openmp.cc (resolve_omp_target): Minor cleanup.
+ * parse.cc (decode_omp_directive): Find TARGET statement
+ also higher in the stack.
+
2023-07-26 Harald Anlauf <anlauf@gmx.de>
PR fortran/68569
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5fcbfa4..ae47b1e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,118 @@
+2023-07-27 David Faust <david.faust@oracle.com>
+
+ PR target/110782
+ PR target/110784
+ * gcc.target/bpf/sload-1.c: New test.
+ * gcc.target/bpf/sload-pseudoc-1.c: New test.
+ * gcc.target/bpf/smov-1.c: New test.
+ * gcc.target/bpf/smov-pseudoc-1.c: New test.
+
+2023-07-27 David Faust <david.faust@oracle.com>
+
+ * gcc.target/bpf/alu-2.c: New test.
+ * gcc.target/bpf/alu-pseudoc-2.c: Likewise.
+
+2023-07-27 Jan Hubicka <jh@suse.cz>
+
+ * gcc.dg/tree-prof/peel-1.c: Test for profile mismatches.
+ * gcc.dg/tree-prof/unroll-1.c: Test for profile mismatches.
+ * gcc.dg/tree-ssa/peel1.c: Test for profile mismatches.
+ * gcc.dg/unroll-1.c: Test for profile mismatches.
+ * gcc.dg/unroll-3.c: Test for profile mismatches.
+ * gcc.dg/unroll-4.c: Test for profile mismatches.
+ * gcc.dg/unroll-5.c: Test for profile mismatches.
+ * gcc.dg/unroll-6.c: Test for profile mismatches.
+
+2023-07-27 Tobias Burnus <tobias@codesourcery.com>
+
+ * gfortran.dg/gomp/teams-6.f90: Extend.
+
+2023-07-27 Jan Hubicka <jh@suse.cz>
+
+ * gcc.dg/pr102385.c: Check for no profile mismatches.
+ * gcc.dg/pr96931.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-1.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-2.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-3.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-4.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-5.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-7.c: Check for one profile mismatch.
+ * gcc.dg/tree-ssa/predcom-8.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-1.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-10.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-11.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-12.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-2.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-3.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-4.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-5.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-6.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-7.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-8.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/predcom-dse-9.c: Check for no profile mismatches.
+ * gcc.dg/tree-ssa/update-unroll-1.c: Unxfail.
+
+2023-07-27 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/110197
+ * g++.dg/cpp0x/constexpr-empty18.C: New test.
+ * g++.dg/cpp0x/constexpr-empty19.C: New test.
+
+2023-07-27 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * gcc.target/riscv/rvv/autovec/partial/slp-9.c: Add more checks.
+ * gcc.target/riscv/rvv/rvv.exp: Add VLS modes tests.
+ * gcc.target/riscv/rvv/autovec/vls/def.h: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-1.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-10.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-11.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-12.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-13.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-14.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-15.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-16.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-17.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-2.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-3.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-4.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-5.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-6.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-7.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-8.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/mov-9.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/spill-1.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/spill-2.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/spill-3.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/spill-4.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/spill-5.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/spill-6.c: New test.
+ * gcc.target/riscv/rvv/autovec/vls/spill-7.c: New test.
+
+2023-07-27 demin.han <demin.han@starfivetech.com>
+
+ * gcc.target/riscv/rvv/autovec/madd-split2-1.c: New test.
+
+2023-07-27 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/110829
+ * gcc.dg/pr56837.c: XFAIL part of the testcase.
+
+2023-07-27 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/103497
+ * g++.dg/cpp1y/decltype-auto-103497.C: New test.
+
+2023-07-27 Kewen Lin <linkw@linux.ibm.com>
+ Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/110776
+ * gcc.target/powerpc/pr110776.c: New test.
+
+2023-07-27 Jeff Law <jlaw@ventanamicro.com>
+
+ * gcc.target/riscv/arch-23.c: Update expected diagnostic messages.
+ * gcc.target/riscv/pr102957.c: Likewise.
+
2023-07-26 Patrick Palka <ppalka@redhat.com>
PR c++/110566
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 23614c2..5ea4699 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,11 @@
+2023-07-27 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/108046
+ * include/std/format (__formatter_fp::format): Ensure __expc is
+ always set for all presentation types. Set __z correctly for
+ zero precision.
+ * testsuite/std/format/functions/format.cc: Check problem cases.
+
2023-07-26 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/110807