diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c74374ca53..0b96743e573 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,125 @@ +2023-05-08 Roger Sayle + Uros Bizjak + + * config/i386/i386.md (any_or_plus): Move definition earlier. + (*insvti_highpart_1): New define_insn_and_split to overwrite + (insv) the highpart of a TImode register/memory. + +2023-05-08 Eugene Rozenfeld + + * auto-profile.cc (auto_profile): Check todo from early_inline + to see if cleanup_tree_vfg needs to be called. + (early_inline): Return todo from early_inliner. + +2023-05-08 Kito Cheng + + * config/riscv/riscv-vsetvl.cc (pass_vsetvl::get_vector_info): + New. + (pass_vsetvl::get_block_info): New. + (pass_vsetvl::update_vector_info): New. + (pass_vsetvl::simple_vsetvl): Use get_vector_info. + (pass_vsetvl::compute_local_backward_infos): Ditto. + (pass_vsetvl::transfer_before): Ditto. + (pass_vsetvl::transfer_after): Ditto. + (pass_vsetvl::emit_local_forward_vsetvls): Ditto. + (pass_vsetvl::local_eliminate_vsetvl_insn): Ditto. + (pass_vsetvl::cleanup_insns): Ditto. + (pass_vsetvl::compute_local_backward_infos): Use + update_vector_info. + +2023-05-08 Jeff Law + + * config/stormy16/stormy16.md (zero_extendhisi2): Fix length. + +2023-05-08 Richard Biener + Michael Meissner + + PR middle-end/108623 + * tree-core.h (tree_type_common): Bump up precision field to 16 bits. + Align bit fields > 1 bit to at least an 8-bit boundary. + +2023-05-08 Andrew Pinski + + PR tree-optimization/109424 + PR tree-optimization/59424 + * tree-ssa-phiopt.cc (factor_out_conditional_conversion): Rename to ... + (factor_out_conditional_operation): This and add support for all unary + operations. + (pass_phiopt::execute): Update call to factor_out_conditional_conversion + to call factor_out_conditional_operation instead. + +2023-05-08 Andrew Pinski + + * tree-ssa-phiopt.cc (pass_phiopt::execute): Loop + over factor_out_conditional_conversion. + +2023-05-08 Andrew Pinski + + PR tree-optimization/49959 + PR tree-optimization/103771 + * tree-ssa-phiopt.cc (pass_phiopt::execute): Support + Diamond shapped bb form for factor_out_conditional_conversion. + +2023-05-08 Juzhe-Zhong + + * config/riscv/autovec.md (movmisalign): New pattern. + * config/riscv/riscv-protos.h (riscv_vector_mask_mode_p): Delete. + (riscv_vector_get_mask_mode): Ditto. + (get_mask_policy_no_pred): Ditto. + (get_tail_policy_no_pred): Ditto. + (get_mask_mode): New function. + * config/riscv/riscv-v.cc (get_mask_policy_no_pred): Delete. + (get_tail_policy_no_pred): Ditto. + (riscv_vector_mask_mode_p): Ditto. + (riscv_vector_get_mask_mode): Ditto. + (get_mask_mode): New function. + * config/riscv/riscv-vector-builtins.cc (use_real_merge_p): Remove + global extern. + (get_tail_policy_for_pred): Ditto. + * config/riscv/riscv-vector-builtins.h (get_tail_policy_for_pred): Ditto. + (get_mask_policy_for_pred): Ditto + * config/riscv/riscv.cc (riscv_get_mask_mode): Refine codes. + +2023-05-08 Kito Cheng + + * common/config/riscv/riscv-common.cc (riscv_select_multilib_by_abi): New. + (riscv_select_multilib): New. + (riscv_compute_multilib): Extract logic to riscv_select_multilib and + also handle select_by_abi. + * config/riscv/elf.h (RISCV_USE_CUSTOMISED_MULTI_LIB): Change it + to select_by_abi_arch_cmodel from 1. + * config/riscv/linux.h (RISCV_USE_CUSTOMISED_MULTI_LIB): Define. + * config/riscv/riscv-opts.h (enum riscv_multilib_select_kind): New. + +2023-05-08 Alexander Monakov + + * Makefile.in: (gimple-match-head.o-warn): Remove. + (GIMPLE_MATCH_PD_SEQ_SRC): Do not depend on + gimple-match-exports.cc. + (gimple-match-auto.h): Only depend on s-gimple-match. + (generic-match-auto.h): Likewise. + +2023-05-08 Andrew Pinski + + PR tree-optimization/109691 + * tree-ssa-dce.cc (simple_dce_from_worklist): Add need_eh_cleanup + argument. + If the removed statement can throw, have need_eh_cleanup + include the bb of that statement. + * tree-ssa-dce.h (simple_dce_from_worklist): Update declaration. + * tree-ssa-propagate.cc (struct prop_stats_d): Remove + num_dce. + (substitute_and_fold_dom_walker::substitute_and_fold_dom_walker): + Initialize dceworklist instead of stmts_to_remove. + (substitute_and_fold_dom_walker::~substitute_and_fold_dom_walker): + Destore dceworklist instead of stmts_to_remove. + (substitute_and_fold_dom_walker::before_dom_children): + Set dceworklist instead of adding to stmts_to_remove. + (substitute_and_fold_engine::substitute_and_fold): + Call simple_dce_from_worklist instead of poping + from the list. + Don't update the stat on removal statements. + 2023-05-07 Andrew Pinski PR target/109762 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index e50dc5212d2..d3869af5806 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230508 +20230509 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index abfc7aa2deb..3ccb0bb9358 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,11 @@ +2023-05-08 Patrick Palka + + PR c++/106214 + PR c++/93107 + * pt.cc (do_auto_deduction): Move up resolve_nondeduced_context + calls to happen before do_class_deduction. Add some + error_mark_node tests. + 2023-05-07 Patrick Palka PR c++/85979 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 331a85fabc1..71d316be3e7 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,18 @@ +2023-05-08 Bernhard Reutner-Fischer + + * resolve.cc (resolve_select_type): Fix coding style. + +2023-05-08 Bernhard Reutner-Fischer + + * resolve.cc (resolve_select_type): Call free() unconditionally. + +2023-05-08 Bernhard Reutner-Fischer + + PR fortran/68800 + * expr.cc (find_array_section): Fix mpz memory leak. + * simplify.cc (gfc_simplify_reshape): Fix mpz memory leaks in + error paths. + 2023-05-05 Harald Anlauf PR fortran/109641 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cd2f6dbd2b1..71f499e5eb1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,81 @@ +2023-05-08 Roger Sayle + Uros Bizjak + + * gcc.target/i386/insvti_highpart-1.c: New test case. + +2023-05-08 Andrew Pinski + + PR testsuite/109776 + * gcc.dg/pr81192.c: Fix integer constants for int16 targets. + +2023-05-08 Kito Cheng + + * gcc.target/riscv/rvv/autovec/partial/single_rgroup-1.h: Change + stdint.h to stdint-gcc.h. + * gcc.target/riscv/rvv/autovec/template-1.h: Ditto. + * gcc.target/riscv/rvv/autovec/riscv_vector.h: New. + +2023-05-08 Thomas Schwinge + + * g++.dg/guality/guality.exp: Move 'torture-init' earlier. + * gcc.dg/guality/guality.exp: Likewise. + * gfortran.dg/guality/guality.exp: Likewise. + * lib/c-torture.exp (LTO_TORTURE_OPTIONS): Don't set. + * lib/gcc-dg.exp (LTO_TORTURE_OPTIONS): Don't set. + * lib/lto.exp (lto_init, lto_finish): Let each 'lto_init' + determine the default 'LTO_OPTIONS'. + * lib/torture-options.exp (torture-init, torture-finish): Let each + 'torture-init' determine the 'LTO_TORTURE_OPTIONS'. + +2023-05-08 Patrick Palka + + PR c++/106214 + PR c++/93107 + * g++.dg/cpp1z/class-deduction114.C: New test. + +2023-05-08 Andrew Pinski + + * gcc.dg/tree-ssa/abs-2.c: Update tree scan for + details change in wording. + * gcc.dg/tree-ssa/minmax-17.c: Likewise. + * gcc.dg/tree-ssa/pr103771.c: Likewise. + * gcc.dg/tree-ssa/minmax-18.c: New test. + * gcc.dg/tree-ssa/minmax-19.c: New test. + +2023-05-08 Andrew Pinski + + * gcc.dg/tree-ssa/minmax-17.c: New test. + +2023-05-08 Andrew Pinski + + PR tree-optimization/49959 + PR tree-optimization/103771 + * c-c++-common/torture/harden-cond-comp.c: Change testcase + slightly to avoid the new phiopt optimization. + * gcc.dg/tree-ssa/abs-2.c: New test. + * gcc.dg/tree-ssa/pr103771.c: New test. + +2023-05-08 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/fixed-vlmax-1.c: Fix typo. + +2023-05-08 Andrew Pinski + + * gcc.dg/tree-ssa/evrp7.c: Update for output change. + * gcc.dg/tree-ssa/evrp8.c: Likewise. + * gcc.dg/tree-ssa/vrp35.c: Likewise. + * gcc.dg/tree-ssa/vrp36.c: Likewise. + * gcc.dg/tree-ssa/pr98737-1.c: Update scan-tree-dump-not + to check for assignment too instead of just a call. + * c-c++-common/goacc/kernels-alias-8.c: Update test + for removal of load. + * gcc.dg/pr81192.c: Rewrite testcase in gimple based test. + +2023-05-08 Jerry DeLisle + + PR fortran/109662 + * gfortran.dg/pr109662-a.f90: New test. + 2023-05-07 Patrick Palka PR c++/85979 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 305caba9edb..cce66d4ca76 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,25 @@ +2023-05-08 Bernhard Reutner-Fischer + + * caf/single.c (_gfortran_caf_register): Fix coding style. + * io/async.c (update_pdt, async_io): Likewise. + * io/format.c (free_format_data): Likewise. + * io/transfer.c (st_read_done_worker, st_write_done_worker): Likewise. + * io/unix.c (mem_close): Likewise. + +2023-05-08 Bernhard Reutner-Fischer + + * caf/single.c (_gfortran_caf_register): Call free() unconditionally. + * io/async.c (update_pdt, async_io): Likewise. + * io/format.c (free_format_data): Likewise. + * io/transfer.c (st_read_done_worker, st_write_done_worker): Likewise. + * io/unix.c (mem_close): Likewise. + +2023-05-08 Jerry DeLisle + + PR fortran/109662 + * io/list_read.c: Add check for a semicolon after a namelist + name in read input. Issue a runtime error message. + 2023-05-06 Jerry DeLisle PR fortran/109662 diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 2139ea2ecf8..33abedc278f 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,25 @@ +2023-05-08 Thomas Schwinge + + * autogen.sh: Remove. + +2023-05-08 Thomas Schwinge + + * autogen.sh: For 'aclocal', 'autoreconf', remove '-I .', + add '-I ..'. + * Makefile.am (ACLOCAL_AMFLAGS): Remove '-I .'. + * libm2cor/Makefile.am (ACLOCAL_AMFLAGS): Likewise. + * libm2iso/Makefile.am (ACLOCAL_AMFLAGS): Likewise. + * libm2log/Makefile.am (ACLOCAL_AMFLAGS): Likewise. + * libm2min/Makefile.am (ACLOCAL_AMFLAGS): Likewise. + * libm2pim/Makefile.am (ACLOCAL_AMFLAGS): Likewise. + * aclocal.m4: Regenerate. + * Makefile.in: Likewise. + * libm2cor/Makefile.in: Likewise. + * libm2iso/Makefile.in: Likewise. + * libm2log/Makefile.in: Likewise. + * libm2min/Makefile.in: Likewise. + * libm2pim/Makefile.in: Likewise. + 2023-03-22 Gaius Mulley * libm2pim/Makefile.am (M2DEFS): Remove M2LINK.def. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index eebd0f422cc..456b9ce2d82 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,21 @@ +2023-05-08 Thomas Schwinge + + * testsuite/libgomp.c++/c++.exp: Use 'lang_include_flags' instead + of 'libstdcxx_includes'. + * testsuite/libgomp.oacc-c++/c++.exp: Likewise. + +2023-05-08 Thomas Schwinge + + * target.c (gomp_target_rev): Instead of 'dev_to_host_cpy', + 'host_to_dev_cpy', 'token', take a single 'goacc_asyncqueue'. + * libgomp.h (gomp_target_rev): Adjust. + * libgomp-plugin.c (GOMP_PLUGIN_target_rev): Adjust. + * libgomp-plugin.h (GOMP_PLUGIN_target_rev): Adjust. + * plugin/plugin-gcn.c (process_reverse_offload): Adjust. + * plugin/plugin-nvptx.c (rev_off_dev_to_host_cpy) + (rev_off_host_to_dev_cpy): Remove. + (GOMP_OFFLOAD_run): Adjust. + 2023-05-04 Julian Brown PR fortran/109622