From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 067303858CD1; Sat, 25 Nov 2023 00:18:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 067303858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700871494; bh=5fzgDxjYsgUC/BS+FgmnqUp4FB3SLdNDCBPFNti1GPw=; h=From:To:Subject:Date:From; b=Y4zDaPfDUWj1l5UFcPji3p7M6kZONKxJLefVpfJ/HcPm50v18AqYhUcQ6M+rlU+qo 0tH6xTN/g9Q4T4MTqj+mq7PZgcdgUczirSXVllumX+TtzXv4h83pDtnDSKTp2vtFEx Y5LT1LedprppFcc/EyJ3Vv9OdpxNUJSBhiR224r0= 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-5837] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 5d4abd9219dfa53b52b341255e99139bb6cad302 X-Git-Newrev: 77cf1dba78b25f2e57bdbcffd6499a288772e700 Message-Id: <20231125001814.067303858CD1@sourceware.org> Date: Sat, 25 Nov 2023 00:18:14 +0000 (GMT) List-Id: https://gcc.gnu.org/g:77cf1dba78b25f2e57bdbcffd6499a288772e700 commit r14-5837-g77cf1dba78b25f2e57bdbcffd6499a288772e700 Author: GCC Administrator Date: Sat Nov 25 00:17:46 2023 +0000 Daily bump. Diff: --- gcc/ChangeLog | 191 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 14 ++++ gcc/c/ChangeLog | 15 ++++ gcc/cp/ChangeLog | 32 ++++++++ gcc/fortran/ChangeLog | 12 +++ gcc/testsuite/ChangeLog | 85 +++++++++++++++++++++ libcpp/ChangeLog | 10 +++ libgcc/ChangeLog | 12 +++ libgomp/ChangeLog | 5 ++ libstdc++-v3/ChangeLog | 6 ++ 11 files changed, 383 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa7dbc4909f..b245114191a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,194 @@ +2023-11-24 Tobias Burnus + + * doc/install.texi (amdgcn-*-amdhsa): Fix URL to ROCm; + change 'in the future' to 'in LLVM 18'. + +2023-11-24 John David Anglin + + * config/pa/pa.cc (pa_emit_move_sequence): Use INT14_OK_STRICT + in a couple of places. + +2023-11-24 Martin Jambor + + 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 + + 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 + + * 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 + + PR target/112694 + * config/riscv/riscv-v.cc (preferred_simd_mode): Allow poly_int (1,1) vectors. + +2023-11-24 Alexander Monakov + + * 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 + + 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 + + * 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 + + * 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 + + 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 + + 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 + + PR tree-optimization/112677 + * tree-vect-loop.cc (vectorizable_reduction): Use alloca + to allocate vectype_op. + +2023-11-24 Haochen Gui + + * 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 + + 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 + + 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 + + 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 + + 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 + + * config/riscv/riscv-v.cc (shuffle_bswap_pattern): Disable for NUNIT < 4. + +2023-11-24 Haochen Jiang + + 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 PR target/86776 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0222a31d594..07c89b4503c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20231124 +20231125 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 69459fd3547..25ab676645e 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,17 @@ +2023-11-24 Lewis Hyatt + + PR pch/112319 + * c-ppoutput.cc (cb_read_pch): Reinitialize the frontend parser + after loading a PCH. + +2023-11-24 Tobias Burnus + + * c.opt (-Wopenmp): Add missing tailing '.'. + +2023-11-24 Tobias Burnus + + * c.opt (Wopenmp): Add, enable by default. + 2023-11-23 Marek Polacek * c-opts.cc: Include "target.h". diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 139e838aa56..46d8c5985f6 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,18 @@ +2023-11-24 Tobias Burnus + + * 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 + + * c-parser.cc (c_parser_omp_depobj): Accept optionally an argument + to the destroy clause. + 2023-11-23 Jakub Jelinek * c-parser.cc (c_parser_postfix_expression): Handle RID_BUILTIN_STDC. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e51f8284d37..7b2eb72e922 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,35 @@ +2023-11-24 Tobias Burnus + + * 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 + + * parser.cc (cp_parser_omp_depobj): Accept optionally an argument + to the destroy clause. + +2023-11-24 Nathaniel Shead + + PR c++/99232 + * decl.cc (grokvardecl): Don't mark variables attached to + modules as internal. + +2023-11-24 Nathaniel Shead + + 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 + + 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 PR c++/110348 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index c5ce037fa3c..3b8feeee76a 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,15 @@ +2023-11-24 Tobias Burnus + + * 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 + + * openmp.cc (gfc_match_omp_depobj): Accept optionally an argument + to the destroy clause. + 2023-11-23 Harald Anlauf PR fortran/112609 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 30207064042..1d04b04efb6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,88 @@ +2023-11-24 Lewis Hyatt + + 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 + + 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 + + PR target/112686 + * gcc.target/i386/pr112686.c: New test. + +2023-11-24 Tobias Burnus + + * c-c++-common/gomp/depobj-3.c: New test. + * gfortran.dg/gomp/depobj-3.f90: New test. + +2023-11-24 Nathaniel Shead + + PR c++/99232 + * g++.dg/modules/pr99232_a.C: New test. + * g++.dg/modules/pr99232_b.C: New test. + +2023-11-24 Juzhe-Zhong + + PR target/112694 + * gcc.target/riscv/rvv/autovec/pr112694-1.c: New test. + +2023-11-24 Jakub Jelinek + + PR target/112681 + * gcc.target/i386/sse4-pr112681.c: New test. + +2023-11-24 Jakub Jelinek + + PR tree-optimization/112673 + * gcc.dg/pr112673.c: New test. + +2023-11-24 Jakub Jelinek + + PR middle-end/112679 + * gcc.dg/bitint-42.c: New test. + +2023-11-24 Jakub Jelinek + + PR middle-end/112668 + * gcc.dg/bitint-40.c: New test. + +2023-11-24 Jakub Jelinek + + PR c++/112619 + * g++.dg/eh/pr112619.C: New test. + +2023-11-24 Juzhe-Zhong + + PR target/112599 + * gcc.target/riscv/rvv/autovec/pr112599-2.c: New test. + +2023-11-24 Juzhe-Zhong + + * 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 + + 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 + + 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 * g++.dg/modules/bad-mapper-1.C: Add hppa*-*-hpux* to dg-error diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index e0d9ed15e05..d0ba0f62741 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,13 @@ +2023-11-24 Alexander Monakov + + * 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 * macro.cc (parse_params): Fix typo in variadic. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 61d45d2a53d..d47e28e648a 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,15 @@ +2023-11-24 Richard Earnshaw + + * 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 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e3685da55cc..d5a6ade059c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2023-11-24 Tobias Burnus + + * libgomp.texi (5.2 Impl. Status): An argument to the destroy clause + is now supported. + 2023-11-22 Thomas Schwinge * testsuite/libgomp.c/declare-variant-3.h (f30, f35, f53, f70) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 466aa5e7b3b..fb48d2d4dca 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2023-11-24 Jan Hubicka + + PR middle-end/109849 + * include/bits/stl_uninitialized.h (__relocate_a_1): Use memcpy instead + of memmove. + 2023-11-23 Jonathan Wakely PR libstdc++/111055