]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 25 Nov 2023 00:17:46 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 25 Nov 2023 00:17:46 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libcpp/ChangeLog
libgcc/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index fa7dbc4909f1bbc99db67f01e24299a8e39cc6d5..b245114191abf97234e4d70d3833c6727a1efa8f 100644 (file)
@@ -1,3 +1,194 @@
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * doc/install.texi (amdgcn-*-amdhsa): Fix URL to ROCm;
+       change 'in the future' to 'in LLVM 18'.
+
+2023-11-24  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.cc (pa_emit_move_sequence): Use INT14_OK_STRICT
+       in a couple of places.
+
+2023-11-24  Martin Jambor  <mjambor@suse.cz>
+
+       PR middle-end/109849
+       * tree-sra.cc (passed_by_ref_in_call): New.
+       (sra_initialize): Allocate passed_by_ref_in_call.
+       (sra_deinitialize): Free passed_by_ref_in_call.
+       (create_access): Add decl pool candidates only if they are not
+       already candidates.
+       (build_access_from_expr_1): Bail out on ADDR_EXPRs.
+       (build_access_from_call_arg): New function.
+       (asm_visit_addr): Rename to scan_visit_addr, change the
+       disqualification dump message.
+       (scan_function): Check taken addresses for all non-call statements,
+       including phi nodes.  Process all call arguments, including the static
+       chain, build_access_from_call_arg.
+       (maybe_add_sra_candidate): Relax need_to_live_in_memory check to allow
+       non-escaped local variables.
+       (sort_and_splice_var_accesses): Disallow smaller-than-precision
+       replacements for aggregates passed by reference to functions.
+       (sra_modify_expr): Use a separate stmt iterator for adding satements
+       before the processed statement and after it.
+       (enum out_edge_check): New type.
+       (abnormal_edge_after_stmt_p): New function.
+       (sra_modify_call_arg): New function.
+       (sra_modify_assign): Adjust calls to sra_modify_expr.
+       (sra_modify_function_body): Likewise, use sra_modify_call_arg to
+       process call arguments, including the static chain.
+
+2023-11-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/112686
+       * config/i386/i386.cc (ix86_expand_split_stack_prologue): Load
+       function address to a register for ix86_cmodel == CM_LARGE.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * doc/invoke.texi (-Wopenmp): Add.
+       * gimplify.cc (gimplify_omp_for): Add OPT_Wopenmp to warning_at.
+       * omp-expand.cc (expand_omp_ordered_sink): Likewise.
+       * omp-general.cc (omp_check_context_selector): Likewise.
+       * omp-low.cc (scan_omp_for, check_omp_nesting_restrictions,
+       lower_omp_ordered_clauses): Likewise.
+       * omp-simd-clone.cc (simd_clone_clauses_extract): Likewise.
+
+2023-11-24  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       PR target/112694
+       * config/riscv/riscv-v.cc (preferred_simd_mode): Allow poly_int (1,1) vectors.
+
+2023-11-24  Alexander Monakov  <amonakov@ispras.ru>
+
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * configure.ac: Delete manual checks for old Valgrind headers.
+       * system.h (VALGRIND_MAKE_MEM_NOACCESS): Delete.
+       (VALGRIND_MAKE_MEM_DEFINED): Delete.
+       (VALGRIND_MAKE_MEM_UNDEFINED): Delete.
+       (VALGRIND_MALLOCLIKE_BLOCK): Delete.
+       (VALGRIND_FREELIKE_BLOCK): Delete.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/112681
+       * config/i386/i386-expand.cc (ix86_expand_branch): Use
+       ix86_expand_vector_logical_operator to expand vector XOR rather than
+       gen_rtx_SET on gen_rtx_XOR.
+
+2023-11-24  Alex Coplan  <alex.coplan@arm.com>
+
+       * rtl-ssa/access-utils.h (filter_accesses): New.
+       (remove_regno_access): New.
+       (check_remove_regno_access): New.
+       * rtl-ssa/accesses.cc (rtl_ssa::remove_note_accesses_base): Use
+       new filter_accesses helper.
+
+2023-11-24  Alex Coplan  <alex.coplan@arm.com>
+
+       * rtl-ssa/accesses.cc (function_info::create_set): New.
+       * rtl-ssa/accesses.h (access_info::is_temporary): New.
+       * rtl-ssa/changes.cc (move_insn): Handle new (temporary) insns.
+       (function_info::finalize_new_accesses): Handle new/temporary
+       user-created accesses.
+       (function_info::apply_changes_to_insn): Ensure m_is_temp flag
+       on new insns gets cleared.
+       (function_info::change_insns): Handle new/temporary insns.
+       (function_info::create_insn): New.
+       * rtl-ssa/changes.h (class insn_change): Make function_info a
+       friend class.
+       * rtl-ssa/functions.h (function_info): Declare new entry points:
+       create_set, create_insn.  Declare new change_alloc helper.
+       * rtl-ssa/insns.cc (insn_info::print_full): Identify temporary insns in
+       dump.
+       * rtl-ssa/insns.h (insn_info): Add new m_is_temp flag and accompanying
+       is_temporary accessor.
+       * rtl-ssa/internals.inl (insn_info::insn_info): Initialize m_is_temp to
+       false.
+       * rtl-ssa/member-fns.inl (function_info::change_alloc): New.
+       * rtl-ssa/movement.h (restrict_movement_for_defs_ignoring): Add
+       handling for temporary defs.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/112673
+       * match.pd (bit_field_ref (vce @0) -> bit_field_ref @0): Only simplify
+       if either @0 doesn't have scalar integral type or if it has mode
+       precision.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/112679
+       * gimple-lower-bitint.cc (gimple_lower_bitint): Also stop first loop on
+       floating point SSA_NAME set in FLOAT_EXPR assignment from BITINT_TYPE
+       INTEGER_CST.  Set has_large_huge for those if that BITINT_TYPE is large
+       or huge.  Set kind to such FLOAT_EXPR assignment rhs1 BITINT_TYPE's kind.
+
+2023-11-24  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/112677
+       * tree-vect-loop.cc (vectorizable_reduction): Use alloca
+       to allocate vectype_op.
+
+2023-11-24  Haochen Gui  <guihaoc@gcc.gnu.org>
+
+       * expr.cc (by_pieces_ninsns): Include by pieces compare when
+       do the adjustment for overlap operations.  Replace mov_optab
+       checks with gcc assertion.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/112668
+       * gimple-iterator.h (gsi_end, gsi_end_bb): New inline functions.
+       * gimple-lower-bitint.cc (bitint_large_huge::handle_cast): After
+       temporarily adding statements after m_init_gsi, update m_init_gsi
+       such that later additions after it will be after the added statements.
+       (bitint_large_huge::handle_load): Likewise.  When splitting
+       gsi_bb (m_init_gsi) basic block, update m_preheader_bb if needed
+       and update saved m_gsi as well if needed.
+       (bitint_large_huge::lower_mergeable_stmt,
+       bitint_large_huge::lower_comparison_stmt,
+       bitint_large_huge::lower_mul_overflow,
+       bitint_large_huge::lower_bit_query): Use gsi_end_bb.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/112619
+       * tree.cc (try_catch_may_fallthru): If second operand of
+       TRY_CATCH_EXPR is not a STATEMENT_LIST, handle it as if it was a
+       STATEMENT_LIST containing a single statement.
+
+2023-11-24  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/112344
+       * tree-chrec.cc (chrec_apply): Only use an unsigned add
+       when the overall increment doesn't fit the signed type.
+
+2023-11-24  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       PR target/112599
+       * config/riscv/riscv-v.cc (shuffle_extract_and_slide1up_patterns): New function.
+       (expand_vec_perm_const_1): Add new optimization.
+
+2023-11-24  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * config/riscv/riscv-v.cc (shuffle_bswap_pattern): Disable for NUNIT < 4.
+
+2023-11-24  Haochen Jiang  <haochen.jiang@intel.com>
+
+       PR target/112643
+       * config/i386/driver-i386.cc (check_avx10_avx512_features):
+       Renamed to ...
+       (check_avx512_features): this and remove avx10 check.
+       (host_detect_local_cpu): Never append -mno-avx10.1-{256,512} to
+       avoid emitting warnings when building GCC with native arch.
+       * config/i386/i386-builtin.def (BDESC): Add missing AVX512VL for
+       128/256 bit builtin for AVX512VP2INTERSECT.
+       * config/i386/i386-options.cc (ix86_option_override_internal):
+       Also check whether the AVX512 flags is set when trying to reset.
+       * config/i386/i386.h
+       (PTA_SKYLAKE_AVX512): Add missing PTA_EVEX512.
+       (PTA_ZNVER4): Ditto.
+
 2023-11-23  Georg-Johann Lay  <avr@gjlay.de>
 
        PR target/86776
index 0222a31d594a314848b8f76d25a487daa302078b..07c89b4503cf610d95dd4dc4a6744d9b444431a0 100644 (file)
@@ -1 +1 @@
-20231124
+20231125
index 69459fd35472fac0cf45f45a20d4c53def8b46ff..25ab676645e0570e420aa1d6b2e128ae66d7c519 100644 (file)
@@ -1,3 +1,17 @@
+2023-11-24  Lewis Hyatt  <lhyatt@gmail.com>
+
+       PR pch/112319
+       * c-ppoutput.cc (cb_read_pch): Reinitialize the frontend parser
+       after loading a PCH.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c.opt (-Wopenmp): Add missing tailing '.'.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c.opt (Wopenmp): Add, enable by default.
+
 2023-11-23  Marek Polacek  <polacek@redhat.com>
 
        * c-opts.cc: Include "target.h".
index 139e838aa561a54bcfb71a0f5769643a1b7af353..46d8c5985f646ee3b6646e15b9b60c036dbd5848 100644 (file)
@@ -1,3 +1,18 @@
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c-parser.cc (c_parser_omp_clause_num_threads,
+       c_parser_omp_clause_num_tasks, c_parser_omp_clause_grainsize,
+       c_parser_omp_clause_priority, c_parser_omp_clause_schedule,
+       c_parser_omp_clause_num_teams, c_parser_omp_clause_thread_limit,
+       c_parser_omp_clause_dist_schedule, c_parser_omp_depobj,
+       c_parser_omp_scan_loop_body, c_parser_omp_assumption_clauses):
+       Add OPT_Wopenmp to warning_at.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c-parser.cc (c_parser_omp_depobj): Accept optionally an argument
+       to the destroy clause.
+
 2023-11-23  Jakub Jelinek  <jakub@redhat.com>
 
        * c-parser.cc (c_parser_postfix_expression): Handle RID_BUILTIN_STDC.
index e51f8284d37810f2c01dda9b6bef0b8467671579..7b2eb72e922adc52e401ab79716cf0f55e91f145 100644 (file)
@@ -1,3 +1,35 @@
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * parser.cc (cp_parser_omp_clause_dist_schedule,
+       cp_parser_omp_scan_loop_body, cp_parser_omp_assumption_clauses,
+       cp_parser_omp_depobj): Add OPT_Wopenmp to warning_at.
+       * semantics.cc (finish_omp_clauses): Likewise.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * parser.cc (cp_parser_omp_depobj): Accept optionally an argument
+       to the destroy clause.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/99232
+       * decl.cc (grokvardecl): Don't mark variables attached to
+       modules as internal.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/107398
+       * module.cc (trees_out::get_merge_kind): Handle lambdas in class
+       scope.
+       (maybe_key_decl): Remove assertion and fix whitespace.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/98885
+       * decl.cc (duplicate_decls): Adjust error message.
+       (xref_tag): Adjust error message. Check exporting decl that is
+       already declared as non-exporting.
+
 2023-11-23  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/110348
index c5ce037fa3c50c3215eb2996f07fe0c76a96cac7..3b8feeee76a453612e807b6311dac7ba2a95eaae 100644 (file)
@@ -1,3 +1,15 @@
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * lang.opt (Wopenmp): Add, enabled by dafault and documented in C.
+       * openmp.cc (gfc_match_omp_declare_target, resolve_positive_int_expr,
+       resolve_nonnegative_int_expr, resolve_omp_clauses,
+       gfc_resolve_omp_do_blocks): Use OPT_Wopenmp with gfc_warning{,_now}.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * openmp.cc (gfc_match_omp_depobj): Accept optionally an argument
+       to the destroy clause.
+
 2023-11-23  Harald Anlauf  <anlauf@gmx.de>
 
        PR fortran/112609
index 30207064042aa76fd5974f08dd0fce30de5419a0..1d04b04efb6279d6e6563cb6639770e1f94ec1e4 100644 (file)
@@ -1,3 +1,88 @@
+2023-11-24  Lewis Hyatt  <lhyatt@gmail.com>
+
+       PR pch/112319
+       * g++.dg/pch/pr112319.C: New test.
+       * g++.dg/pch/pr112319.Hs: New test.
+       * gcc.dg/pch/pr112319.c: New test.
+       * gcc.dg/pch/pr112319.hs: New test.
+
+2023-11-24  Martin Jambor  <mjambor@suse.cz>
+
+       PR middle-end/109849
+       * g++.dg/tree-ssa/pr109849.C: New test.
+       * g++.dg/tree-ssa/sra-eh-1.C: Likewise.
+       * gcc.dg/tree-ssa/pr109849.c: Likewise.
+       * gcc.dg/tree-ssa/sra-longjmp-1.c: Likewise.
+       * gfortran.dg/pr43984.f90: Added -fno-tree-sra to dg-options.
+
+2023-11-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/112686
+       * gcc.target/i386/pr112686.c: New test.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * c-c++-common/gomp/depobj-3.c: New test.
+       * gfortran.dg/gomp/depobj-3.f90: New test.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/99232
+       * g++.dg/modules/pr99232_a.C: New test.
+       * g++.dg/modules/pr99232_b.C: New test.
+
+2023-11-24  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       PR target/112694
+       * gcc.target/riscv/rvv/autovec/pr112694-1.c: New test.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/112681
+       * gcc.target/i386/sse4-pr112681.c: New test.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/112673
+       * gcc.dg/pr112673.c: New test.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/112679
+       * gcc.dg/bitint-42.c: New test.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/112668
+       * gcc.dg/bitint-40.c: New test.
+
+2023-11-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/112619
+       * g++.dg/eh/pr112619.C: New test.
+
+2023-11-24  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       PR target/112599
+       * gcc.target/riscv/rvv/autovec/pr112599-2.c: New test.
+
+2023-11-24  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.target/riscv/rvv/autovec/vls-vlmax/perm-4.c: Adapt test.
+       * gcc.target/riscv/rvv/autovec/vls/perm-4.c: Ditto.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/107398
+       * g++.dg/modules/lambda-6_a.C: New test.
+       * g++.dg/modules/lambda-6_b.C: New test.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/98885
+       * g++.dg/modules/export-1.C: Adjust error messages. Remove
+       xfails for working case. Add new test case.
+
 2023-11-23  John David Anglin  <danglin@gcc.gnu.org>
 
        * g++.dg/modules/bad-mapper-1.C: Add hppa*-*-hpux* to dg-error
index e0d9ed15e05d3512dd04fbcec15a09d9f0d7c995..d0ba0f62741efc1d514f56953113b831cbfb2cbf 100644 (file)
@@ -1,3 +1,13 @@
+2023-11-24  Alexander Monakov  <amonakov@ispras.ru>
+
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * configure.ac (ENABLE_VALGRIND_CHECKING): Delete.
+       (ENABLE_VALGRIND_ANNOTATIONS): Rename to
+       ENABLE_VALGRIND_WORKAROUNDS.  Delete Valgrind header checks.
+       * lex.cc (new_buff): Adjust for renaming.
+       (_cpp_free_buff): Ditto.
+
 2023-11-20  Marc Poulhiès  <dkm@kataplop.net>
 
        * macro.cc (parse_params): Fix typo in variadic.
index 61d45d2a53d5dfee4e55adcfb4b555ca115a0dc5..d47e28e648aba63bfa01ada6f417991217cfb721 100644 (file)
@@ -1,3 +1,15 @@
+2023-11-24  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config.host (arm*-*-eabi* | arm*-*-rtems*):
+       Add arm/t-sync to the makefile rules.
+       * config/arm/lib1funcs.S (__sync_synchronize_none)
+       (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
+       (__sync_synchronize): New functions.
+       * config/arm/t-sync: New file.
+       * config/arm/sync-none.specs: Likewise.
+       * config/arm/sync-dmb.specs: Likewise.
+       * config/arm/sync-cp15dmb.specs: Likewise.
+
 2023-11-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
 
        * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
index e3685da55ccd6a97d0c87577c129b1e8511ea145..d5a6ade059c544fc65348d71685df9240be77d61 100644 (file)
@@ -1,3 +1,8 @@
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * libgomp.texi (5.2 Impl. Status): An argument to the destroy clause
+       is now supported.
+
 2023-11-22  Thomas Schwinge  <thomas@codesourcery.com>
 
        * testsuite/libgomp.c/declare-variant-3.h (f30, f35, f53, f70)
index 466aa5e7b3b93175d0546cffd4d5fbb39559d2a4..fb48d2d4dca22d4752afb0c847b5300eac1deeca 100644 (file)
@@ -1,3 +1,9 @@
+2023-11-24  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/109849
+       * include/bits/stl_uninitialized.h (__relocate_a_1): Use memcpy instead
+       of memmove.
+
 2023-11-23  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/111055