]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 22 Dec 2023 00:18:02 +0000 (00:18 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 22 Dec 2023 00:18:02 +0000 (00:18 +0000)
contrib/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index a521553ae4cb25ceb379b26d7e30f781538f5a64..e3b7a4db62e457ea2101df714dc93e45e507762f 100644 (file)
@@ -1,3 +1,8 @@
+2023-12-21  Alexandre Oliva  <oliva@adacore.com>
+
+       * 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  <jason@redhat.com>
 
        * gcc-git-customization.sh: Add git gcc-style alias.
index cefddcbc640251aa3ae99bbf07e19edb7e60b7e0..f4782a72a8a049195bdf4d5b0526cbbb8c0c56af 100644 (file)
@@ -1,3 +1,144 @@
+2023-12-21  Andrew Pinski  <quic_apinski@quicinc.com>
+
+       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)  <andre.simoesdiasvieira@arm.com>
+
+       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  <ubizjak@gmail.com>
+
+       PR target/113044
+       * config/i386/i386.md (*ashlqi_ext<mode>_1): Move from the
+       high register of the input operand.
+       (*<insn>qi_ext<mode>_1): Ditto.
+
+2023-12-21  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       Revert:
+       2023-12-18  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       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  <julian@codesourcery.com>
+
+       * 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  <alex.coplan@arm.com>
+
+       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  <jakub@redhat.com>
+
+       * 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  <richard.sandiford@arm.com>
+
+       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  <richard.sandiford@arm.com>
+
+       PR target/112948
+       * config/aarch64/aarch64-early-ra.cc (find_strided_accesses): Fix
+       cut-&-pasto.
+
+2023-12-21  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <chenxiaolong@loongson.cn>
+
+       * 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  <c@jia.je>
+
+       * 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  <xujiahao@loongson.cn>
+
+       * config/loongarch/lasx.md: Use zero expansion instruction.
+       * config/loongarch/lsx.md: Ditto.
+
+2023-12-21  Alexandre Oliva  <oliva@adacore.com>
+
+       PR target/112778
+       * builtins.cc (try_store_by_multiple_pieces): Drop obsolete
+       comment.
+
+2023-12-21  Kewen Lin  <linkw@linux.ibm.com>
+
+       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  <linkw@linux.ibm.com>
+
+       * dbgcnt.def (sched_block): Remove.
+       * sched-rgn.cc (schedule_region): Remove the support of debug count
+       sched_block.
+
+2023-12-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/37722
+       * doc/extend.texi: Document that computed goto does not
+       call destructors.
+
+2023-12-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/106213
+       * opts-common.cc (control_warning_option): Call
+       handle_generated_option for all cl_var_types.
+
 2023-12-20  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
 
        PR target/113087
index 1e1f595fc12de3d6864523e226fc89919cbffb01..5c051c7daa7fcad025089eb33a22d3f35caf4d56 100644 (file)
@@ -1 +1 @@
-20231221
+20231222
index 38f39932d4a239a0a06464e3303fd91376eb20b6..b7b043682fede41c3399efe2fa056a621ea6ddb4 100644 (file)
@@ -1,3 +1,13 @@
+2023-12-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * c.opt (Walloc-size): Enable also for C++ and ObjC++.
+
+2023-12-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/113092
+       * c-ubsan.cc (ubsan_instrument_shift): Workaround for missing
+       ubsan _BitInt support for the shift count.
+
 2023-12-20  Florian Weimer  <fweimer@redhat.com>
 
        PR c/113050
index 678a3fbbb4bfb6875bd14d84fa26841786e7b47a..0730393dc2b17aba4853b592b5a4c3b716df1cd8 100644 (file)
@@ -1,3 +1,44 @@
+2023-12-21  Martin Uecker  <uecker@tugraz.at>
+
+       * 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  <uecker@tugraz.at>
+
+       * 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  <uecker@tugraz.at>
+
+       * 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  <jakub@redhat.com>
 
        * c-parser.cc (c_parser_postfix_expression_after_primary): Grow
index 5db76e8bd2878fd41a2bef7bcec3d7482de07b71..90b26bd4ab7a697e08cef4ed3a6114288d452471 100644 (file)
@@ -1,3 +1,52 @@
+2023-12-21  Patrick Palka  <ppalka@redhat.com>
+
+       * 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  <ppalka@redhat.com>
+
+       PR c++/84542
+       * decl.cc (merge_attribute_bits): Merge TREE_DEPRECATED
+       and TREE_UNAVAILABLE.
+
+2023-12-21  Patrick Palka  <ppalka@redhat.com>
+
+       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  <jakub@redhat.com>
+
+       * 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  <jason@redhat.com>
+
+       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  <jason@redhat.com>
 
        PR c++/113088
index 8dbf8cba129e12c2b47cc684a4a8624e92a73bf4..9956b2f86b83fd26c2f32dc8fc332511d1b08f0b 100644 (file)
@@ -1,3 +1,122 @@
+2023-12-21  Patrick Palka  <ppalka@redhat.com>
+
+       * g++.dg/warn/Wparentheses-34.C: New test.
+
+2023-12-21  Patrick Palka  <ppalka@redhat.com>
+
+       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  <ppalka@redhat.com>
+
+       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  <ubizjak@gmail.com>
+
+       PR target/113044
+       * gcc.target/i386/pr113044.c: New test.
+
+2023-12-21  Alex Coplan  <alex.coplan@arm.com>
+
+       PR target/113093
+       * gcc.dg/pr113093.c: New test.
+
+2023-12-21  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-7.c: New test.
+
+2023-12-21  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR target/113094
+       * gcc.target/aarch64/pr113094.c: New test.
+
+2023-12-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/warn/Walloc-size-1.C: New test.
+       * g++.dg/warn/Wcalloc-transposed-args-1.C: New test.
+
+2023-12-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/113092
+       * gcc.dg/ubsan/bitint-4.c: New test.
+
+2023-12-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/112941
+       * gcc.dg/bitint-56.c: New test.
+       * gcc.dg/bitint-57.c: New test.
+
+2023-12-21  chenxiaolong  <chenxiaolong@loongson.cn>
+
+       * 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  <uecker@tugraz.at>
+
+       * 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  <uecker@tugraz.at>
+
+       * 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  <uecker@tugraz.at>
+
+       * 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  <linkw@linux.ibm.com>
+
+       PR rtl-optimization/112995
+       * gcc.target/powerpc/pr112995.c: New test.
+
+2023-12-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/37722
+       * g++.dg/ext/label15.C: New test.
+       * g++.dg/torture/pr42739.C: Expect warning.
+
+2023-12-21  Jason Merrill  <jason@redhat.com>
+
+       PR c++/106213
+       * g++.dg/cpp0x/depr-copy5.C: New test.
+
 2023-12-20  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
 
        PR target/113087
index 13167d74ffec4670f66f4b8314d5158f1503d1b6..4f806288af5da260398509350cb24903212588e9 100644 (file)
@@ -1,3 +1,7 @@
+2023-12-21  Julian Brown  <julian@codesourcery.com>
+
+       * testsuite/libgomp.fortran/target-enter-data-6.f90: Remove XFAIL.
+
 2023-12-20  Julian Brown  <julian@codesourcery.com>
 
        * plugin/plugin-nvptx.c (GOMP_OFFLOAD_memcpy2d): Adjust parameters to
index ef3b3564ed430bb4a681b5a71ddad738ac681cb8..284d56b919bed6165aff7434f3bcfc2c5575bae7 100644 (file)
@@ -1,3 +1,26 @@
+2023-12-21  Arsen Arsenović  <arsen@aarsen.me>
+
+       * 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 <generator>.
+       * 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ć  <arsen@aarsen.me>
+
+       * include/bits/ranges_util.h: Add missing <bits/invoke.h>
+       include.
+
 2023-12-18  Patrick Palka  <ppalka@redhat.com>
 
        PR libstdc++/112802