diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-10-26 00:17:43 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2023-10-26 00:17:43 +0000 |
commit | f75fc1f08337fdf9034b041b113835b456ca37bf (patch) | |
tree | 3c62df0f3053a658f1966cec2716eedc9d0e5c89 /gcc | |
parent | da9e72f80f3358bd9586e11aaf03341c1f867318 (diff) | |
download | gcc-f75fc1f08337fdf9034b041b113835b456ca37bf.zip gcc-f75fc1f08337fdf9034b041b113835b456ca37bf.tar.gz gcc-f75fc1f08337fdf9034b041b113835b456ca37bf.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 211 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 22 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 34 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 27 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/m2/ChangeLog | 19 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 57 |
8 files changed, 376 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 283b16d..d50cd42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,214 @@ +2023-10-25 Iain Sandoe <iain@sandoe.co.uk> + + * config/darwin.cc (darwin_override_options): Handle fPIE. + +2023-10-25 Iain Sandoe <iain@sandoe.co.uk> + + * config.gcc: Use -E to to sed to indicate that we are using + extended REs. + +2023-10-25 Jason Merrill <jason@redhat.com> + + * tree-core.h (struct tree_base): Update address_space comment. + +2023-10-25 Wilco Dijkstra <wilco.dijkstra@arm.com> + + * config/aarch64/aarch64.cc (aarch64_internal_mov_immediate) + Add support for immediates using MOV/EOR bitmask. + +2023-10-25 Uros Bizjak <ubizjak@gmail.com> + + PR target/111698 + * config/i386/x86-tune.def (X86_TUNE_PARTIAL_MEMORY_READ_STALL): + New tune. + * config/i386/i386.h (TARGET_PARTIAL_MEMORY_READ_STALL): New macro. + * config/i386/i386.md: New peephole pattern to narrow test + instructions with immediate operands that test memory locations + for zero. + +2023-10-25 Andrew MacLeod <amacleod@redhat.com> + + * value-range.cc (irange::union_append): New. + (irange::union_): Call union_append when appropriate. + * value-range.h (irange::union_append): New prototype. + +2023-10-25 Chenghui Pan <panchenghui@loongson.cn> + + * config/loongarch/lasxintrin.h (__lasx_xvftintrnel_l_s): Fix comments. + (__lasx_xvfrintrne_s): Ditto. + (__lasx_xvfrintrne_d): Ditto. + (__lasx_xvfrintrz_s): Ditto. + (__lasx_xvfrintrz_d): Ditto. + (__lasx_xvfrintrp_s): Ditto. + (__lasx_xvfrintrp_d): Ditto. + (__lasx_xvfrintrm_s): Ditto. + (__lasx_xvfrintrm_d): Ditto. + * config/loongarch/lsxintrin.h (__lsx_vftintrneh_l_s): Ditto. + (__lsx_vfrintrne_s): Ditto. + (__lsx_vfrintrne_d): Ditto. + (__lsx_vfrintrz_s): Ditto. + (__lsx_vfrintrz_d): Ditto. + (__lsx_vfrintrp_s): Ditto. + (__lsx_vfrintrp_d): Ditto. + (__lsx_vfrintrm_s): Ditto. + (__lsx_vfrintrm_d): Ditto. + +2023-10-25 chenxiaolong <chenxiaolong@loongson.cn> + + * config/loongarch/loongarch.md (get_thread_pointer<mode>):Adds the + instruction template corresponding to the __builtin_thread_pointer + function. + * doc/extend.texi:Add the __builtin_thread_pointer function support + description to the documentation. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * Makefile.in (OBJS): Add rtl-ssa/movement.o. + * rtl-ssa/access-utils.h (accesses_include_nonfixed_hard_registers) + (single_set_info): New functions. + (remove_uses_of_def, accesses_reference_same_resource): Declare. + (insn_clobbers_resources): Likewise. + * rtl-ssa/accesses.cc (rtl_ssa::remove_uses_of_def): New function. + (rtl_ssa::accesses_reference_same_resource): Likewise. + (rtl_ssa::insn_clobbers_resources): Likewise. + * rtl-ssa/movement.h (can_move_insn_p): Declare. + * rtl-ssa/movement.cc: New file. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/functions.h (function_info::remains_available_at_insn): + New member function. + * rtl-ssa/accesses.cc (function_info::remains_available_at_insn): + Likewise. + (function_info::make_use_available): Avoid false negatives for + queries within an EBB. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/changes.cc: Include sreal.h. + (rtl_ssa::changes_are_worthwhile): When optimizing for speed, + scale the cost of each instruction by its execution frequency. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/access-utils.h (next_call_clobbers): New function. + (is_single_dominating_def, remains_available_on_exit): Replace with... + * rtl-ssa/functions.h (function_info::is_single_dominating_def) + (function_info::remains_available_on_exit): ...these new member + functions. + (function_info::m_clobbered_by_calls): New member variable. + * rtl-ssa/functions.cc (function_info::function_info): Explicitly + initialize m_clobbered_by_calls. + * rtl-ssa/insns.cc (function_info::record_call_clobbers): Update + m_clobbered_by_calls for each call-clobber note. + * rtl-ssa/member-fns.inl (function_info::is_single_dominating_def): + New function. Check for call clobbers. + * rtl-ssa/accesses.cc (function_info::remains_available_on_exit): + Likewise. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/internals.h (build_info::exit_block_dominator): New + member variable. + * rtl-ssa/blocks.cc (build_info::build_info): Initialize it. + (bb_walker::bb_walker): Use it, moving the computation of the + dominator to... + (function_info::process_all_blocks): ...here. + (function_info::place_phis): Add dominance frontiers for the + exit block. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/functions.h (function_info::process_uses_of_deleted_def): + New member function. + * rtl-ssa/changes.cc (function_info::process_uses_of_deleted_def): + Likewise. + (function_info::change_insns): Use it. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/changes.cc (function_info::finalize_new_accesses): + If a change describes a set of memory, ensure that that set + is kept, regardless of the insn pattern. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/changes.cc (function_info::apply_changes_to_insn): Remove + call to add_reg_unused_notes and instead... + (function_info::change_insns): ...use a separate loop here. + +2023-10-25 Richard Sandiford <richard.sandiford@arm.com> + + * rtl-ssa/blocks.cc (function_info::add_artificial_accesses): Force + global registers to be live on exit. Handle any block with zero + successors like an exit block. + +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * omp-oacc-kernels-decompose.cc (omp_oacc_kernels_decompose_1): + Handle 'OMP_CLAUSE_SELF' like 'OMP_CLAUSE_IF'. + * omp-expand.cc (expand_omp_target): Handle 'OMP_CLAUSE_SELF' for + 'GF_OMP_TARGET_KIND_OACC_DATA_KERNELS'. + +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * tree-core.h (omp_clause_code): Move 'OMP_CLAUSE_SELF' after + 'OMP_CLAUSE_IF'. + * tree-pretty-print.cc (dump_omp_clause): Adjust. + * tree.cc (omp_clause_num_ops, omp_clause_code_name): Likewise. + * tree.h: Likewise. + +2023-10-25 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + * config/riscv/riscv-protos.h (has_vl_op): Export from riscv-vsetvl to riscv-v + (tail_agnostic_p): Ditto. + (validate_change_or_fail): Ditto. + (nonvlmax_avl_type_p): Ditto. + (vlmax_avl_p): Ditto. + (get_sew): Ditto. + (enum vlmul_type): Ditto. + (count_regno_occurrences): Ditto. + * config/riscv/riscv-v.cc (has_vl_op): Ditto. + (get_default_ta): Ditto. + (tail_agnostic_p): Ditto. + (validate_change_or_fail): Ditto. + (nonvlmax_avl_type_p): Ditto. + (vlmax_avl_p): Ditto. + (get_sew): Ditto. + (enum vlmul_type): Ditto. + (get_vlmul): Ditto. + (count_regno_occurrences): Ditto. + * config/riscv/riscv-vsetvl.cc (vlmax_avl_p): Ditto. + (has_vl_op): Ditto. + (get_sew): Ditto. + (get_vlmul): Ditto. + (get_default_ta): Ditto. + (tail_agnostic_p): Ditto. + (count_regno_occurrences): Ditto. + (validate_change_or_fail): Ditto. + +2023-10-25 Chung-Lin Tang <cltang@codesourcery.com> + + * gimplify.cc (gimplify_scan_omp_clauses): Add OMP_CLAUSE_SELF case. + (gimplify_adjust_omp_clauses): Likewise. + * omp-expand.cc (expand_omp_target): Add OMP_CLAUSE_SELF expansion code, + * omp-low.cc (scan_sharing_clauses): Add OMP_CLAUSE_SELF case. + * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_SELF enum. + * tree-nested.cc (convert_nonlocal_omp_clauses): Add OMP_CLAUSE_SELF + case. + (convert_local_omp_clauses): Likewise. + * tree-pretty-print.cc (dump_omp_clause): Add OMP_CLAUSE_SELF case. + * tree.cc (omp_clause_num_ops): Add OMP_CLAUSE_SELF entry. + (omp_clause_code_name): Likewise. + * tree.h (OMP_CLAUSE_SELF_EXPR): New macro. + +2023-10-25 Juzhe-Zhong <juzhe.zhong@rivai.ai> + + * config/riscv/riscv-protos.h (vlmax_avl_type_p): New function. + * config/riscv/riscv-v.cc (vlmax_avl_type_p): Ditto. + * config/riscv/riscv-vsetvl.cc (get_avl): Adapt function. + * config/riscv/vector.md: Change avl_type into avl_type_idx. + 2023-10-24 Richard Sandiford <richard.sandiford@arm.com> * recog.cc (constrain_operands): Remove UNARY_P handling. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 399b940..8cc3c140 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20231025 +20231026 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 2fb67af..7935f0e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,25 @@ +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * c-parser.cc (c_parser_omp_clause_name): Return + 'PRAGMA_OACC_CLAUSE_SELF' for "self". + (c_parser_oacc_data_clause, OACC_UPDATE_CLAUSE_MASK): Adjust. + (c_parser_oacc_all_clauses): Remove 'bool compute_p' formal + parameter, and instead locally determine whether we're called for + an OpenACC compute construct or OpenACC 'update' directive. + (c_parser_oacc_compute): Adjust. + +2023-10-25 Chung-Lin Tang <cltang@codesourcery.com> + + * c-parser.cc (c_parser_oacc_compute_clause_self): New function. + (c_parser_oacc_all_clauses): Add new 'bool compute_p = false' + parameter, add parsing of self clause when compute_p is true. + (OACC_KERNELS_CLAUSE_MASK): Add PRAGMA_OACC_CLAUSE_SELF. + (OACC_PARALLEL_CLAUSE_MASK): Likewise, + (OACC_SERIAL_CLAUSE_MASK): Likewise. + (c_parser_oacc_compute): Adjust call to c_parser_oacc_all_clauses to + set compute_p argument to true. + * c-typeck.cc (c_finish_omp_clauses): Add OMP_CLAUSE_SELF case. + 2023-10-20 Florian Weimer <fweimer@redhat.com> PR c/109827 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 59b548e..9ac6f0a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,37 @@ +2023-10-25 Jason Merrill <jason@redhat.com> + + * cp-tree.def: Improve OFFSET_REF comment. + * cp-gimplify.cc (cp_fold_immediate): Add to comment. + +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * parser.cc (cp_parser_omp_clause_name): Return + 'PRAGMA_OACC_CLAUSE_SELF' for "self". + (cp_parser_oacc_data_clause, OACC_UPDATE_CLAUSE_MASK): Adjust. + (cp_parser_oacc_all_clauses): Remove 'bool compute_p' formal + parameter, and instead locally determine whether we're called for + an OpenACC compute construct or OpenACC 'update' directive. + (cp_parser_oacc_compute): Adjust. + +2023-10-25 Chung-Lin Tang <cltang@codesourcery.com> + + * parser.cc (cp_parser_oacc_compute_clause_self): New function. + (cp_parser_oacc_all_clauses): Add new 'bool compute_p = false' + parameter, add parsing of self clause when compute_p is true. + (OACC_KERNELS_CLAUSE_MASK): Add PRAGMA_OACC_CLAUSE_SELF. + (OACC_PARALLEL_CLAUSE_MASK): Likewise, + (OACC_SERIAL_CLAUSE_MASK): Likewise. + (cp_parser_oacc_compute): Adjust call to c_parser_oacc_all_clauses to + set compute_p argument to true. + * pt.cc (tsubst_omp_clauses): Add OMP_CLAUSE_SELF case. + * semantics.cc (c_finish_omp_clauses): Add OMP_CLAUSE_SELF case, merged + with OMP_CLAUSE_IF case. + +2023-10-25 Marek Polacek <polacek@redhat.com> + + PR c++/111895 + * typeck.cc (build_static_cast_1): Call decay_conversion. + 2023-10-24 Patrick Palka <ppalka@redhat.com> PR c++/111929 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 680d6e8..66f30fa 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,30 @@ +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * openmp.cc (omp_mask2): Split 'OMP_CLAUSE_HOST_SELF' into + 'OMP_CLAUSE_SELF', 'OMP_CLAUSE_HOST'. + (gfc_match_omp_clauses, OACC_UPDATE_CLAUSES): Adjust. + +2023-10-25 Chung-Lin Tang <cltang@codesourcery.com> + + * gfortran.h (typedef struct gfc_omp_clauses): Add self_expr field. + * openmp.cc (enum omp_mask2): Add OMP_CLAUSE_SELF. + (gfc_match_omp_clauses): Add handling for OMP_CLAUSE_SELF. + (OACC_PARALLEL_CLAUSES): Add OMP_CLAUSE_SELF. + (OACC_KERNELS_CLAUSES): Likewise. + (OACC_SERIAL_CLAUSES): Likewise. + (resolve_omp_clauses): Add handling for omp_clauses->self_expr. + * trans-openmp.cc (gfc_trans_omp_clauses): Add handling of + clauses->self_expr and building of OMP_CLAUSE_SELF tree clause. + (gfc_split_omp_clauses): Add handling of self_expr field copy. + +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * dump-parse-tree.cc (show_omp_clauses): Group handling of 'if' + clause without and with modifier. + * frontend-passes.cc (gfc_code_walker): Likewise. + * gfortran.h (gfc_omp_clauses): Likewise. + * openmp.cc (gfc_free_omp_clauses): Likewise. + 2023-10-18 Tobias Burnus <tobias@codesourcery.com> * intrinsic.texi (signal): Add 'intrinsic :: signal, sleep' to diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index cb1b69d..e7aa7e2 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,8 @@ +2023-10-25 Vibhav Pant <vibhavp@gmail.com> + + * jit-recording.cc (recording::global::write_to_dump): Fix + dump of string literal initializers. + 2023-10-22 Iain Sandoe <iain@sandoe.co.uk> * Make-lang.in: Handle Darwin rpaths. diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index d696277..fbb386f 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,22 @@ +2023-10-25 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/111955 + * gm2-gcc/m2builtins.cc (gm2_isnan_node): New tree. + (DoBuiltinIsnan): New function. + (m2builtins_BuiltInIsnan): New function. + (m2builtins_init): Initialize gm2_isnan_node. + (list_of_builtins): Add define for __builtin_isnan. + * gm2-libs-ch/wrapc.c (wrapc_isnan): New function. + (wrapc_isnanf): New function. + (wrapc_isnanl): New function. + * gm2-libs/Builtins.def (isnanf): New procedure function. + (isnan): New procedure function. + (isnanl): New procedure function. + * gm2-libs/Builtins.mod: + * gm2-libs/wrapc.def (isnan): New function. + (isnanf): New function. + (isnanl): New function. + 2023-10-24 Gaius Mulley <gaiusmod2@gmail.com> * gm2-libs/M2Dependent.mod (InitDependencyList): New diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 706ea0c..2274e2e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,60 @@ +2023-10-25 Wilco Dijkstra <wilco.dijkstra@arm.com> + + * gcc.target/aarch64/imm_choice_comparison.c: Change tests. + * gcc.target/aarch64/moveor_imm.c: Add new test. + * gcc.target/aarch64/pr106583.c: Change tests. + +2023-10-25 Uros Bizjak <ubizjak@gmail.com> + + PR target/111698 + * gcc.target/i386/pr111698.c: New test. + +2023-10-25 chenxiaolong <chenxiaolong@loongson.cn> + + * gcc.target/loongarch/builtin_thread_pointer.c: New test. + +2023-10-25 Patrick Palka <ppalka@redhat.com> + + PR c++/99804 + * g++.dg/template/enum9.C: New test. + +2023-10-25 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/111955 + * gm2/pimlib/run/pass/testnan.mod: New test. + +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * c-c++-common/goacc/self-clause-2.c: Verify + '--param=openacc-kernels=decompose'. + * gfortran.dg/goacc/kernels-tree.f95: Adjust. + +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * c-c++-common/goacc/if-clause-2.c: Enhance. + * c-c++-common/goacc/self-clause-1.c: Likewise. + * c-c++-common/goacc/self-clause-2.c: Likewise. + * gfortran.dg/goacc/if.f95: Likewise. + * gfortran.dg/goacc/kernels-tree.f95: Likewise. + * gfortran.dg/goacc/parallel-tree.f95: Likewise. + * gfortran.dg/goacc/self.f95: Likewise. + +2023-10-25 Thomas Schwinge <thomas@codesourcery.com> + + * c-c++-common/goacc/if-clause-1.c: Enable for C++ + * c-c++-common/goacc/self-clause-1.c: Likewise. + +2023-10-25 Chung-Lin Tang <cltang@codesourcery.com> + + * c-c++-common/goacc/self-clause-1.c: New test. + * c-c++-common/goacc/self-clause-2.c: New test. + * gfortran.dg/goacc/self.f95: New test. + +2023-10-25 Marek Polacek <polacek@redhat.com> + + PR c++/111895 + * g++.dg/cpp0x/scoped_enum12.C: New test. + 2023-10-24 Patrick Palka <ppalka@redhat.com> PR c++/111929 |