diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ChangeLog | 199 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 19 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 53 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 111 | ||||
-rw-r--r-- | libatomic/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/ChangeLog | 8 | ||||
-rw-r--r-- | libgomp/ChangeLog | 6 | ||||
-rw-r--r-- | libitm/ChangeLog | 6 | ||||
-rw-r--r-- | libphobos/ChangeLog | 6 | ||||
-rw-r--r-- | libvtv/ChangeLog | 6 |
12 files changed, 425 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2024-05-31 Pengxuan Zheng <quic_pzheng@quicinc.com> + + * MAINTAINERS: Add myself to Write After Approval and DCO. + 2024-05-20 Gerald Pfeifer <gerald@pfeifer.com> * MAINTAINERS: Move Joern Rennecke from arc and epiphany maintainer diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6152b62..b59cb4d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,202 @@ +2024-05-31 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> + + * config/xtensa/xtensa-protos.h (xtensa_expand_call): + Add the third argument as boolean. + (xtensa_expand_epilogue): Remove the first argument. + * config/xtensa/xtensa.cc (xtensa_expand_call): + Add the third argument "sibcall_p", and modify in order to prepend + "(use A0_REG)" to CALL_INSN_FUNCTION_USAGE if the argument is true. + (xtensa_expand_epilogue): Remove the first argument "sibcall_p" and + its conditional clause. + * config/xtensa/xtensa.md (call, call_value, sibcall, sibcall_value): + Append a boolean value to the argument of xtensa_expand_call() + indicating whether it is sibling call or not. + (epilogue): Remove the boolean argument from xtensa_expand_epilogue(), + and then append emitting "(return)". + (sibcall_epilogue): Remove the boolean argument from + xtensa_expand_epilogue(). + +2024-05-31 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> + + * config/xtensa/predicates.md + (subreg_HQI_lowpart_operator, xtensa_sminmax_operator): + New operator predicates. + * config/xtensa/xtensa-protos.h (xtensa_match_CLAMPS_imms_p): + Remove. + * config/xtensa/xtensa.cc (xtensa_match_CLAMPS_imms_p): Ditto. + * config/xtensa/xtensa.md + (*addsubx, *extzvsi-1bit_ashlsi3, *extzvsi-1bit_addsubx): + Revise the output statements by conditional ternary operator rather + than switch-case clause in order to avoid using gcc_unreachable(). + (xtensa_clamps): Reduce to a single pattern definition using the + predicate added above. + (Some split patterns to assist *masktrue_const_bitcmpl): Ditto. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * config/riscv/riscv-v.cc (expand_const_vector): Document. + (shuffle_extract_and_slide1up_patterns): Remove. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * config/riscv/autovec.md (ctz<mode>2): New expander. + (clz<mode>2): Ditto. + * config/riscv/generic-vector-ooo.md: Add bitmanip ops to insn + reservation. + * config/riscv/vector-crypto.md: Add VLS modes to insns. + * config/riscv/vector.md: Add bitmanip ops to mode_idx and other + attributes. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * config/riscv/autovec-opt.md (*vandn_<mode>): New pattern. + * config/riscv/vector.md: Add vandn to mode_idx. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * config/riscv/riscv-v.cc (expand_gather_scatter): Use vwsll if + applicable. + * config/riscv/vector-crypto.md: Remove mode from vwsll shift + count operator. + * config/riscv/vector.md: Add vwsll to mode iterator. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * config/riscv/autovec-opt.md (*vwsll_zext1_<mode>): New + pattern. + (*vwsll_zext2_<mode>): Ditto. + (*vwsll_zext1_scalar_<mode>): Ditto. + (*vwsll_zext1_trunc_<mode>): Ditto. + (*vwsll_zext2_trunc_<mode>): Ditto. + (*vwsll_zext1_trunc_scalar_<mode>): Ditto. + * config/riscv/vector-crypto.md: Make pattern similar to other + narrowing/widening patterns. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * config/riscv/vector.md: Split vwadd.wx/vwsub.wx pattern and + add extended_scalar patterns. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + PR target/115068 + * config/riscv/vector.md: Split vfw<insn>.wf pattern. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * tree-object-size.cc (access_with_size_object_size): Use the type + of the 6th argument for the type of the element. + * internal-fn.cc (expand_ACCESS_WITH_SIZE): Update the comment with + the 6th argument. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * tree-object-size.cc (access_with_size_object_size): New function. + (call_object_size): Call the new function. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * internal-fn.cc (expand_ACCESS_WITH_SIZE): New function. + * internal-fn.def (ACCESS_WITH_SIZE): New internal function. + * tree.cc (is_access_with_size_p): New function. + (get_ref_from_access_with_size): New function. + * tree.h (is_access_with_size_p): New prototype. + (get_ref_from_access_with_size): New prototype. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * doc/extend.texi: Document attribute counted_by. + +2024-05-31 Uros Bizjak <ubizjak@gmail.com> + + PR target/115297 + * config/alpha/alpha.md (<any_divmod:code>si3): Wrap DImode + operands 3 and 4 with truncate:SI RTX. + (*divmodsi_internal_er): Ditto for operands 1 and 2. + (*divmodsi_internal_er_1): Ditto. + (*divmodsi_internal): Ditto. + * config/alpha/constraints.md ("b"): Correct register + number in the description. + +2024-05-31 Thomas Schwinge <tschwinge@baylibre.com> + + * config/nvptx/nvptx.h: Configure global constructor, destructor + support. + +2024-05-31 Richard Biener <rguenther@suse.de> + + PR tree-optimization/115278 + * tree-if-conv.cc (ifcvt_local_dce): Do not DSE volatile stores. + +2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * config.gcc: Move ${target_min} from obsolete to unsupported + message. + +2024-05-31 Andrew Pinski <quic_apinski@quicinc.com> + + PR target/115022 + * doc/invoke.texi (fstrub=disable): Fix opindex. + (minline-memops-threshold): Fix opindex. + (mcmodel=): Add opindex and fix them. + * common.opt.urls: Regenerate. + * config/aarch64/aarch64.opt.urls: Regenerate. + * config/bpf/bpf.opt.urls: Regenerate. + * config/i386/i386.opt.urls: Regenerate. + * config/loongarch/loongarch.opt.urls: Regenerate. + * config/nds32/nds32-elf.opt.urls: Regenerate. + * config/nds32/nds32-linux.opt.urls: Regenerate. + * config/or1k/or1k.opt.urls: Regenerate. + * config/riscv/riscv.opt.urls: Regenerate. + * config/rs6000/aix64.opt.urls: Regenerate. + * config/rs6000/linux64.opt.urls: Regenerate. + * config/sparc/sparc.opt.urls: Regenerate. + +2024-05-31 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> + + * config/xtensa/xtensa-protos.h + (xtensa_use_return_instruction_p): Remove. + * config/xtensa/xtensa.cc + (machine_function): Remove "epilogue_done" field. + (xtensa_expand_epilogue): Remove "cfun->machine->epilogue_done" usage. + (xtensa_use_return_instruction_p): Remove. + * config/xtensa/xtensa.md ("return"): + Replace calling "xtensa_use_return_instruction_p()" with inline code. + +2024-05-31 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> + + * config/xtensa/xtensa.cc (xtensa_valid_move, constantpool_address_p, + xtensa_tls_symbol_p, gen_int_relational, xtensa_emit_move_sequence, + xtensa_copy_incoming_a7, xtensa_expand_block_move, + xtensa_expand_nonlocal_goto, xtensa_emit_call, + xtensa_legitimate_address_p, xtensa_legitimize_address, + xtensa_tls_referenced_p, print_operand, print_operand_address, + xtensa_output_literal): + Replace RTX code comparisons with their predicate macros such as + REG_P(). + * config/xtensa/xtensa.h (CONSTANT_ADDRESS_P, + LEGITIMATE_PIC_OPERAND_P): Ditto. + * config/xtensa/xtensa.md (reload<mode>_literal, indirect_jump): + Ditto. + +2024-05-31 Martin Uecker <uecker@tugraz.at> + + PR tree-optimization/115157 + PR tree-optimization/115177 + * godump.cc (go_output_typedef): Use TYPE_MAIN_VARIANT instead + of TYPE_CANONICAL. + +2024-05-31 liuhongt <hongtao.liu@intel.com> + + * config/i386/emmintrin.h (__double_u): Rename from double_u. + (_mm_load_sd): Replace double_u with __double_u. + (_mm_store_sd): Ditto. + (_mm_loadh_pd): Ditto. + (_mm_loadl_pd): Ditto. + * config/i386/xmmintrin.h (__float_u): Rename from float_u. + (_mm_load_ss): Ditto. + (_mm_store_ss): Ditto. + 2024-05-30 Uros Bizjak <ubizjak@gmail.com> PR target/115102 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index a7808a0..fe85bc7 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240531 +20240601 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 4f07453..acc4906 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,22 @@ +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * c-ubsan.cc (get_bound_from_access_with_size): New function. + (ubsan_instrument_bounds): Handle call to .ACCESS_WITH_SIZE. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * c-attribs.cc (handle_counted_by_attribute): New function. + (attribute_takes_identifier_p): Add counted_by attribute to the list. + * c-common.cc (c_flexible_array_member_type_p): ...To this. + * c-common.h (c_flexible_array_member_type_p): New prototype. + +2024-05-31 Martin Uecker <uecker@tugraz.at> + + PR tree-optimization/115157 + PR tree-optimization/115177 + * c-attribs.cc (handle_hardbool_attribute): Set TYPE_CANONICAL + for hardbools. + 2024-05-29 Jason Merrill <jason@redhat.com> PR c++/109753 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index d72767a..fb2cf20 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,56 @@ +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * c-typeck.cc (build_access_with_size_for_counted_by): Add the 6th + argument to .ACCESS_WITH_SIZE. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * c-parser.cc (c_parser_postfix_expression): Ignore the counted-by + attribute when build_component_ref inside offsetof operator. + * c-tree.h (build_component_ref): Add one more parameter. + * c-typeck.cc (build_counted_by_ref): New function. + (build_access_with_size_for_counted_by): New function. + (build_component_ref): Check the counted-by attribute and build + call to .ACCESS_WITH_SIZE. + (build_unary_op): When building ADDR_EXPR for + .ACCESS_WITH_SIZE, use its first argument. + (lvalue_p): Accept call to .ACCESS_WITH_SIZE. + (digest_init): Fold call to .ACCESS_WITH_SIZE to its first + argument when require_constant is TRUE. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * c-decl.cc (flexible_array_member_type_p): Renamed and moved to... + (add_flexible_array_elts_to_size): Use renamed function. + (is_flexible_array_member_p): Use renamed function. + (verify_counted_by_attribute): New function. + (finish_struct): Use renamed function and verify counted_by + attribute. + * c-tree.h (lookup_field): New prototype. + * c-typeck.cc (lookup_field): Expose as extern function. + (tagged_types_tu_compatible_p): Check counted_by attribute for + structure type. + +2024-05-31 Martin Uecker <uecker@tugraz.at> + + * c-decl.cc (finish_struct): Do not set TYPE_CANONICAL for + structure or unions with variable size. + * c-objc-common.cc (c_get_alias_set): Do not set alias set to zero. + * c-typeck.cc (comptypes_verify): New function. + (comptypes,comptypes_same_p,comptypes_check_enum_int): Add assertion. + (comptypes_equiv_p): Add assertion that ensures that compatible + types have the same equivalence class. + (tagged_types_tu_compatible_p): Remove now unneeded special case. + +2024-05-31 Martin Uecker <uecker@tugraz.at> + + PR tree-optimization/115157 + PR tree-optimization/115177 + * c-decl.cc (shadow_tag-warned,parse_xref_tag,start_enum, + finish_enum): Set SET_TYPE_STRUCTURAL_EQUALITY / TYPE_CANONICAL. + * c-objc-common.cc (get_alias_set): Remove special case. + (get_aka_type): Add special case. + 2024-05-29 Martin Uecker <uecker@tugraz.at> * c-typeck.cc (comptypes_internal): Add flag to track diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8ac23d9..43621e0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,114 @@ +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * gcc.target/riscv/rvv/autovec/unop/popcount-1.c: Adjust check + for zvbb. + * gcc.target/riscv/rvv/autovec/unop/popcount-run-1.c: Ditto. + * gcc.target/riscv/rvv/autovec/unop/popcount-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/unop/popcount-3.c: New test. + * gcc.target/riscv/rvv/autovec/unop/popcount-template.h: New test. + * gcc.target/riscv/rvv/autovec/unop/clz-1.c: New test. + * gcc.target/riscv/rvv/autovec/unop/clz-run.c: New test. + * gcc.target/riscv/rvv/autovec/unop/clz-template.h: New test. + * gcc.target/riscv/rvv/autovec/unop/ctz-1.c: New test. + * gcc.target/riscv/rvv/autovec/unop/ctz-run.c: New test. + * gcc.target/riscv/rvv/autovec/unop/ctz-template.h: New test. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * gcc.target/riscv/rvv/autovec/binop/vandn-1.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vandn-run.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vandn-template.h: New test. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * lib/target-supports.exp: Add zvbb. + * gcc.target/riscv/rvv/autovec/gather-scatter/gather_load_64-12-zvbb.c: New test. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * gcc.target/riscv/rvv/autovec/binop/vwsll-1.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vwsll-run.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vwsll-template.h: New test. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * gcc.target/riscv/rvv/base/pr115068.c: Add vwadd.wx/vwsub.wx + tests. + * gcc.target/riscv/rvv/base/pr115068-run.c: Include pr115068.c. + * gcc.target/riscv/rvv/base/vwaddsub-1.c: New test. + +2024-05-31 Robin Dapp <rdapp@ventanamicro.com> + + * gcc.target/riscv/rvv/base/pr115068-run.c: New test. + * gcc.target/riscv/rvv/base/pr115068.c: New test. + +2024-05-31 Pengxuan Zheng <quic_pzheng@quicinc.com> + + * gcc.target/aarch64/vget_low_2.c: Add -mlittle-endian. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * gcc.dg/flex-array-counted-by-6.c: New test. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * gcc.dg/ubsan/flex-array-counted-by-bounds-2.c: New test. + * gcc.dg/ubsan/flex-array-counted-by-bounds-3.c: New test. + * gcc.dg/ubsan/flex-array-counted-by-bounds-4.c: New test. + * gcc.dg/ubsan/flex-array-counted-by-bounds.c: New test. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * gcc.dg/builtin-object-size-common.h: Add a new macro EXPECT. + * gcc.dg/flex-array-counted-by-3.c: New test. + * gcc.dg/flex-array-counted-by-4.c: New test. + * gcc.dg/flex-array-counted-by-5.c: New test. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * gcc.dg/flex-array-counted-by-2.c: New test. + +2024-05-31 Qing Zhao <qing.zhao@oracle.com> + + * gcc.dg/flex-array-counted-by.c: New test. + * gcc.dg/flex-array-counted-by-7.c: New test. + * gcc.dg/flex-array-counted-by-8.c: New test. + +2024-05-31 Uros Bizjak <ubizjak@gmail.com> + + PR target/115297 + * gcc.target/alpha/pr115297.c: New test. + +2024-05-31 Thomas Schwinge <tschwinge@baylibre.com> + + * gcc.dg/no_profile_instrument_function-attr-1.c: GCC/nvptx is + 'NO_DOT_IN_LABEL' but not 'NO_DOLLAR_IN_LABEL', so '$' may apper + in identifiers. + * lib/target-supports.exp + (check_effective_target_global_constructor): Enable for nvptx. + +2024-05-31 Richard Biener <rguenther@suse.de> + + PR tree-optimization/115278 + * g++.dg/vect/pr115278.cc: New testcase. + +2024-05-31 Marc Poulhiès <poulhies@adacore.com> + + * ada/acats/tests/cxa/cxa4001.a: Use function result. + +2024-05-31 Martin Uecker <uecker@tugraz.at> + + * gcc.dg/gnu23-tag-alias-8.c: New test. + +2024-05-31 Martin Uecker <uecker@tugraz.at> + + PR tree-optimization/115157 + PR tree-optimization/115177 + * gcc.dg/enum-alias-1.c: New test. + * gcc.dg/enum-alias-2.c: New test. + * gcc.dg/enum-alias-3.c: New test. + * gcc.dg/enum-alias-4.c: New test. + 2024-05-30 Uros Bizjak <ubizjak@gmail.com> PR target/115102 diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 4fc33d7..dd234a6 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,9 @@ +2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR testsuite/115294 + * testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new + dg-additional-files-options args. + 2024-05-07 Zac Walker <zacwalker@microsoft.com> * configure.tgt: Add aarch64-w64-mingw32 target. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index fcd8297..48f3ee4 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,11 @@ +2024-05-31 Thomas Schwinge <tschwinge@baylibre.com> + + * config/nvptx/crt0.c (__gbl_ctors): New weak function. + (__main): Invoke it. + * config/nvptx/gbl-ctors.c: New. + * config/nvptx/t-nvptx: Configure global constructor, destructor + support. + 2024-05-21 Kewen Lin <linkw@linux.ibm.com> * config.host: Remove powerpc-*-eabispe* support. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 8b06f81..df78e2c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR testsuite/115294 + * testsuite/lib/libgomp.exp (libgomp_target_compile): Pass new + dg-additional-files-options args. + 2024-05-30 Tobias Burnus <tburnus@baylibre.com> * libgomp.texi (OpenMP 5.0 status): Mark 'requires' as done and diff --git a/libitm/ChangeLog b/libitm/ChangeLog index de97a7a..394cf23 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,9 @@ +2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR testsuite/115294 + * testsuite/lib/libitm.exp (libitm_target_compile): Pass new + dg-additional-files-options args. + 2024-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * Makefile.am [LIBITM_BUILD_VERSIONED_SHLIB_SUN] (libitm.map-sun): diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index f425dfb..56c53bb 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,9 @@ +2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR testsuite/115294 + * testsuite/lib/libphobos.exp (libphobos_target_compile): Pass new + dg-additional-files-options args. + 2024-04-06 Iain Buclaw <ibuclaw@gdcproject.org> * libdruntime/MERGE: Merge upstream druntime b65767825f. diff --git a/libvtv/ChangeLog b/libvtv/ChangeLog index 30729d0..d8e8660 100644 --- a/libvtv/ChangeLog +++ b/libvtv/ChangeLog @@ -1,3 +1,9 @@ +2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR testsuite/115294 + * testsuite/lib/libvtv.exp (libvtv_target_compile): Pass new + dg-additional-files-options args. + 2024-04-02 Jakub Jelinek <jakub@redhat.com> * vtv_rts.cc (vtv_fail): Fix duplicated words; to to -> to. |