From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id A659C3858D33; Fri, 22 Dec 2023 00:18:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A659C3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703204310; bh=AeduAZ98NDNHuwlMwg/Fv6wsnI7sO8Kbln9TTth1BOA=; h=From:To:Subject:Date:From; b=F8O5ghLs1FpA7jDHUejniSb34EtNeerPxXg7g/uagJxn/8GjsbEpvg4WyTDJS4TQw G69rnBNA25TXU7TsOf+kWD6srCUXesNgkzkiZgEEFjjVmZANwx3g3MrEYI5mPOL4Ff L0aUyHUv5NlVErZzREkeZdUsgfBG8WosB6A06T7U= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-6795] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: ec2ec24a4d4d1175f72641a95010c2312eb38ccd X-Git-Newrev: cdfaa4aa52752e55d27bb068b6de933d17b176d3 Message-Id: <20231222001830.A659C3858D33@sourceware.org> Date: Fri, 22 Dec 2023 00:18:30 +0000 (GMT) List-Id: https://gcc.gnu.org/g:cdfaa4aa52752e55d27bb068b6de933d17b176d3 commit r14-6795-gcdfaa4aa52752e55d27bb068b6de933d17b176d3 Author: GCC Administrator Date: Fri Dec 22 00:18:02 2023 +0000 Daily bump. Diff: --- contrib/ChangeLog | 5 ++ gcc/ChangeLog | 141 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 10 ++++ gcc/c/ChangeLog | 41 ++++++++++++++ gcc/cp/ChangeLog | 49 +++++++++++++++++ gcc/testsuite/ChangeLog | 119 ++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 4 ++ libstdc++-v3/ChangeLog | 23 ++++++++ 9 files changed, 393 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index a521553ae4c..e3b7a4db62e 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2023-12-21 Alexandre Oliva + + * compare_tests: Add tool to test lines. Match tabs besides + blanks to insert tool and target. Don't print undefined fname. + 2023-12-20 Jason Merrill * gcc-git-customization.sh: Add git gcc-style alias. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cefddcbc640..f4782a72a8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,144 @@ +2023-12-21 Andrew Pinski + + PR middle-end/112951 + * doc/md.texi (cond_copysign): Document. + (cond_len_copysign): Likewise. + * optabs.def: Reorder cond_copysign to be before + cond_fmin. Likewise for cond_len_copysign. + +2023-12-21 Andre Vieira (lists) + + PR middle-end/113040 + * omp-simd-clone.cc (simd_clone_adjust_argument_types): Add multiple + vector arguments where simdlen is larger than veclen. + +2023-12-21 Uros Bizjak + + PR target/113044 + * config/i386/i386.md (*ashlqi_ext_1): Move from the + high register of the input operand. + (*qi_ext_1): Ditto. + +2023-12-21 Vladimir N. Makarov + + Revert: + 2023-12-18 Vladimir N. Makarov + + PR rtl-optimization/112918 + * lra-constraints.cc (SMALL_REGISTER_CLASS_P): Move before in_class_p. + (in_class_p): Restrict condition for narrowing class in case of + allow_all_reload_class_changes_p. + (process_alt_operands): Pass true for + allow_all_reload_class_changes_p in calls of in_class_p. + (curr_insn_transform): Ditto for reg operand win. + +2023-12-21 Julian Brown + + * gimplify.cc (omp_segregate_mapping_groups): Handle "present" groups. + (gimplify_scan_omp_clauses): Use mapping group functionality to + iterate through mapping nodes. Remove most gimplification of + OMP_CLAUSE_MAP nodes from here, but still populate ctx->variables + splay tree. + (gimplify_adjust_omp_clauses): Move most gimplification of + OMP_CLAUSE_MAP nodes here. + +2023-12-21 Alex Coplan + + PR target/113093 + * config/aarch64/aarch64-ldp-fusion.cc (latest_hazard_before): + If the insn is throwing, record the previous insn as a hazard to + prevent moving it from the end of the BB. + +2023-12-21 Jakub Jelinek + + * gimple-fold.cc (maybe_fold_comparisons_from_match_pd): + Use unsigned char buffers for lhs1 and lhs2 instead of allocating + them through XALLOCA. + * collect2.cc (maybe_run_lto_and_relink): Swap xcalloc arguments. + +2023-12-21 Richard Sandiford + + PR target/113094 + * config/aarch64/aarch64-early-ra.cc (apply_allocation): Stub + out instructions that are going to be deleted before iterating + over the rest. + +2023-12-21 Richard Sandiford + + PR target/112948 + * config/aarch64/aarch64-early-ra.cc (find_strided_accesses): Fix + cut-&-pasto. + +2023-12-21 Jakub Jelinek + + PR tree-optimization/112941 + * gimple-lower-bitint.cc (gimple_lower_bitint): Disallow merging + a cast with multiplication, division or conversion to floating point + if rhs1 of the cast is result of another single use cast in the same + bb. + +2023-12-21 chenxiaolong + + * doc/extend.texi:According to the documents submitted earlier, + Two problems with function return types and using the actual types + of parameters instead of variable names were found and fixed. + +2023-12-21 Jiajie Chen + + * doc/extend.texi(__lsx_vabsd_di): remove extra `i' in name. + (__lsx_vfrintrm_d, __lsx_vfrintrm_s, __lsx_vfrintrne_d, + __lsx_vfrintrne_s, __lsx_vfrintrp_d, __lsx_vfrintrp_s, __lsx_vfrintrz_d, + __lsx_vfrintrz_s): fix return types. + (__lsx_vld, __lsx_vldi, __lsx_vldrepl_b, __lsx_vldrepl_d, + __lsx_vldrepl_h, __lsx_vldrepl_w, __lsx_vmaxi_b, __lsx_vmaxi_d, + __lsx_vmaxi_h, __lsx_vmaxi_w, __lsx_vmini_b, __lsx_vmini_d, + __lsx_vmini_h, __lsx_vmini_w, __lsx_vsrani_d_q, __lsx_vsrarni_d_q, + __lsx_vsrlni_d_q, __lsx_vsrlrni_d_q, __lsx_vssrani_d_q, + __lsx_vssrarni_d_q, __lsx_vssrarni_du_q, __lsx_vssrlni_d_q, + __lsx_vssrlrni_du_q, __lsx_vst, __lsx_vstx, __lsx_vssrani_du_q, + __lsx_vssrlni_du_q, __lsx_vssrlrni_d_q): add missing semicolon. + (__lsx_vpickve2gr_bu, __lsx_vpickve2gr_hu): fix typo in return + type. + (__lsx_vstelm_b, __lsx_vstelm_d, __lsx_vstelm_h, + __lsx_vstelm_w): use imm type for the last argument. + (__lsx_vsigncov_b, __lsx_vsigncov_h, __lsx_vsigncov_w, + __lsx_vsigncov_d): remove duplicate definitions. + +2023-12-21 Jiahao Xu + + * config/loongarch/lasx.md: Use zero expansion instruction. + * config/loongarch/lsx.md: Ditto. + +2023-12-21 Alexandre Oliva + + PR target/112778 + * builtins.cc (try_store_by_multiple_pieces): Drop obsolete + comment. + +2023-12-21 Kewen Lin + + PR rtl-optimization/112995 + * sel-sched.cc (try_replace_dest_reg): Check the validity of the + replaced insn before actually replacing dest in expr. + +2023-12-21 Kewen Lin + + * dbgcnt.def (sched_block): Remove. + * sched-rgn.cc (schedule_region): Remove the support of debug count + sched_block. + +2023-12-21 Jason Merrill + + PR c++/37722 + * doc/extend.texi: Document that computed goto does not + call destructors. + +2023-12-21 Jason Merrill + + PR c++/106213 + * opts-common.cc (control_warning_option): Call + handle_generated_option for all cl_var_types. + 2023-12-20 Juzhe-Zhong PR target/113087 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1e1f595fc12..5c051c7daa7 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20231221 +20231222 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 38f39932d4a..b7b043682fe 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,13 @@ +2023-12-21 Jakub Jelinek + + * c.opt (Walloc-size): Enable also for C++ and ObjC++. + +2023-12-21 Jakub Jelinek + + PR sanitizer/113092 + * c-ubsan.cc (ubsan_instrument_shift): Workaround for missing + ubsan _BitInt support for the shift count. + 2023-12-20 Florian Weimer PR c/113050 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 678a3fbbb4b..0730393dc2b 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,44 @@ +2023-12-21 Martin Uecker + + * c-decl.cc (c_struct_hasher): Hash stable for struct + types. + (c_struct_hasher::hash, c_struct_hasher::equal): New + functions. + (finish_struct): Set TYPE_CANONICAL to first struct in + equivalence class. + * c-objc-common.cc (c_get_alias_set): Let structs or + unions with variable size alias anything. + * c-tree.h (comptypes_equiv): New prototype. + * c-typeck.cc (comptypes_equiv): New function. + (comptypes_internal): Implement equivalence mode. + (tagged_types_tu_compatible): Implement equivalence mode. + +2023-12-21 Martin Uecker + + * c-tree.h (c_parser_enum_specifier): Add parameter. + * c-decl.cc (start_enum): Allow redefinition. + (finish_enum): Diagnose conflicts. + (build_enumerator): Set context. + (diagnose_mismatched_decls): Diagnose conflicting enumerators. + (push_decl): Preserve context for enumerators. + * c-typeck.cc (tagged_types_tu_compatible_p): Adapt. + * c-parser.cc (c_parser_enum_specifier): Remember when + seen is from an enum type which is not yet defined. + +2023-12-21 Martin Uecker + + * c-decl.cc (previous_tag): New function. + (parser_xref_tag): Find earlier definition. + (get_parm_info): Turn off warning for C23. + (start_struct): Allow redefinitons. + (finish_struct): Diagnose conflicts. + * c-tree.h (comptypes_same_p): Add prototype. + * c-typeck.cc (comptypes_same_p): New function. + (comptypes_internal): Activate comparison of tagged types. + (convert_for_assignment): Ignore qualifiers. + (digest_init): Add error. + (initialized_elementwise_p): Allow compatible types. + 2023-12-20 Jakub Jelinek * c-parser.cc (c_parser_postfix_expression_after_primary): Grow diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5db76e8bd28..90b26bd4ab7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,52 @@ +2023-12-21 Patrick Palka + + * cp-tree.h (maybe_warn_unparenthesized_assignment): Add + 'nested_p' bool parameter. + * semantics.cc (boolish_class_type_p_cache): Define. + (boolish_class_type_p): Define. + (maybe_warn_unparenthesized_assignment): Add 'nested_p' + bool parameter. Suppress the warning for nested assignments + to bool and bool-like class types. + (maybe_convert_cond): Pass nested_p=false to + maybe_warn_unparenthesized_assignment. + * typeck.cc (convert_for_assignment): Pass nested_p=true to + maybe_warn_unparenthesized_assignment. Remove now redundant + check for 'rhs' having bool type. + +2023-12-21 Patrick Palka + + PR c++/84542 + * decl.cc (merge_attribute_bits): Merge TREE_DEPRECATED + and TREE_UNAVAILABLE. + +2023-12-21 Patrick Palka + + PR c++/70413 + PR c++/107906 + * decl2.cc (min_vis_expr_r): Handle PTRMEM_CST and TEMPLATE_DECL + other than those for alias templates. + +2023-12-21 Jakub Jelinek + + * cp-gimplify.cc (cp_genericize_r): If warn_alloc_size, call + warn_for_alloc_size for -Walloc-size diagnostics. + * semantics.cc (finish_call_expr): If warn_calloc_transposed_args, + call warn_for_calloc for -Wcalloc-transposed-args diagnostics. + +2023-12-21 Jason Merrill + + PR c++/37722 + * decl.cc (identify_goto): Adjust for computed goto. + (struct named_label_use_entry): Add computed_goto field. + (poplevel_named_label_1): Add to computed_goto vec. + (check_previous_goto_1): Dump computed_goto vec. + (check_goto_1): Split out from check_goto. + (check_goto): Check all addressable labels for computed goto. + (struct named_label_entry): Add addressed field. + (mark_label_addressed): New. + * parser.cc (cp_parser_unary_expression): Call it. + * cp-tree.h (mark_label_addressed): Declare it. + 2023-12-20 Jason Merrill PR c++/113088 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8dbf8cba129..9956b2f86b8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,122 @@ +2023-12-21 Patrick Palka + + * g++.dg/warn/Wparentheses-34.C: New test. + +2023-12-21 Patrick Palka + + PR c++/84542 + * g++.dg/ext/attr-deprecated-2.C: No longer XFAIL. + * g++.dg/ext/attr-unavailable-12.C: New test. + +2023-12-21 Patrick Palka + + PR c++/70413 + PR c++/107906 + * g++.dg/template/linkage2.C: New test. + * g++.dg/template/linkage3.C: New test. + * g++.dg/template/linkage4.C: New test. + * g++.dg/template/linkage4a.C: New test. + +2023-12-21 Uros Bizjak + + PR target/113044 + * gcc.target/i386/pr113044.c: New test. + +2023-12-21 Alex Coplan + + PR target/113093 + * gcc.dg/pr113093.c: New test. + +2023-12-21 Juzhe-Zhong + + * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-7.c: New test. + +2023-12-21 Richard Sandiford + + PR target/113094 + * gcc.target/aarch64/pr113094.c: New test. + +2023-12-21 Jakub Jelinek + + * g++.dg/warn/Walloc-size-1.C: New test. + * g++.dg/warn/Wcalloc-transposed-args-1.C: New test. + +2023-12-21 Jakub Jelinek + + PR sanitizer/113092 + * gcc.dg/ubsan/bitint-4.c: New test. + +2023-12-21 Jakub Jelinek + + PR tree-optimization/112941 + * gcc.dg/bitint-56.c: New test. + * gcc.dg/bitint-57.c: New test. + +2023-12-21 chenxiaolong + + * gcc.target/loongarch/vector/simd_correctness_check.h:The variable + types in the check results are modified in conjunction with the + parameter types defined in the vector builtin function. + +2023-12-21 Martin Uecker + + * gcc.dg/c23-tag-2.c: Activate. + * gcc.dg/c23-tag-5.c: Activate. + * gcc.dg/c23-tag-alias-1.c: New test. + * gcc.dg/c23-tag-alias-2.c: New test. + * gcc.dg/c23-tag-alias-3.c: New test. + * gcc.dg/c23-tag-alias-4.c: New test. + * gcc.dg/c23-tag-alias-5.c: New test. + * gcc.dg/gnu23-tag-alias-1.c: New test. + * gcc.dg/gnu23-tag-alias-2.c: New test. + * gcc.dg/gnu23-tag-alias-3.c: New test. + * gcc.dg/gnu23-tag-alias-4.c: New test. + * gcc.dg/gnu23-tag-alias-5.c: New test. + * gcc.dg/gnu23-tag-alias-6.c: New test. + * gcc.dg/gnu23-tag-alias-7.c: New test. + +2023-12-21 Martin Uecker + + * gcc.dg/c23-tag-enum-1.c: New test. + * gcc.dg/c23-tag-enum-2.c: New test. + * gcc.dg/c23-tag-enum-3.c: New test. + * gcc.dg/c23-tag-enum-4.c: New test. + * gcc.dg/c23-tag-enum-5.c: New test. + * gcc.dg/gnu23-tag-enum-1.c: Mew test. + +2023-12-21 Martin Uecker + + * gcc.dg/c23-enum-7.c: Remove warning. + * gcc.dg/c23-tag-1.c: New test. + * gcc.dg/c23-tag-2.c: New deactivated test. + * gcc.dg/c23-tag-3.c: New test. + * gcc.dg/c23-tag-4.c: New test. + * gcc.dg/c23-tag-5.c: New deactivated test. + * gcc.dg/c23-tag-6.c: New test. + * gcc.dg/c23-tag-7.c: New test. + * gcc.dg/c23-tag-8.c: New test. + * gcc.dg/gnu23-tag-1.c: New test. + * gcc.dg/gnu23-tag-2.c: New test. + * gcc.dg/gnu23-tag-3.c: New test. + * gcc.dg/gnu23-tag-4.c: New test. + * gcc.dg/pr112488-2.c: Remove warning. + +2023-12-21 Kewen Lin + + PR rtl-optimization/112995 + * gcc.target/powerpc/pr112995.c: New test. + +2023-12-21 Jason Merrill + + PR c++/37722 + * g++.dg/ext/label15.C: New test. + * g++.dg/torture/pr42739.C: Expect warning. + +2023-12-21 Jason Merrill + + PR c++/106213 + * g++.dg/cpp0x/depr-copy5.C: New test. + 2023-12-20 Juzhe-Zhong PR target/113087 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 13167d74ffe..4f806288af5 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2023-12-21 Julian Brown + + * testsuite/libgomp.fortran/target-enter-data-6.f90: Remove XFAIL. + 2023-12-20 Julian Brown * plugin/plugin-nvptx.c (GOMP_OFFLOAD_memcpy2d): Adjust parameters to diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ef3b3564ed4..284d56b919b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,26 @@ +2023-12-21 Arsen Arsenović + + * include/Makefile.am: Install std/generator, bits/elements_of.h + as freestanding. + * include/Makefile.in: Regenerate. + * include/bits/version.def: Add __cpp_lib_generator. + * include/bits/version.h: Regenerate. + * include/precompiled/stdc++.h: Include . + * include/std/ranges: Include bits/elements_of.h + * include/bits/elements_of.h: New file. + * include/std/generator: New file. + * testsuite/24_iterators/range_generators/01.cc: New test. + * testsuite/24_iterators/range_generators/02.cc: New test. + * testsuite/24_iterators/range_generators/copy.cc: New test. + * testsuite/24_iterators/range_generators/except.cc: New test. + * testsuite/24_iterators/range_generators/synopsis.cc: New test. + * testsuite/24_iterators/range_generators/subrange.cc: New test. + +2023-12-21 Arsen Arsenović + + * include/bits/ranges_util.h: Add missing + include. + 2023-12-18 Patrick Palka PR libstdc++/112802