From 7f974c5fd4f59a9d8dd20c49a0e2909cb290f4b4 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sat, 28 Oct 2023 00:16:37 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 122 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 9 +++ gcc/cp/ChangeLog | 26 +++++++++ gcc/fortran/ChangeLog | 21 +++++++ gcc/m2/ChangeLog | 15 +++++ gcc/testsuite/ChangeLog | 101 +++++++++++++++++++++++++++++++++ libgm2/ChangeLog | 24 ++++++++ 8 files changed, 319 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac7999ddb77..962a387726d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,125 @@ +2023-10-27 Vladimir N. Makarov + + PR rtl-optimization/112107 + * ira-costs.cc: (calculate_equiv_gains): Use NONDEBUG_INSN_P + instead of INSN_P. + +2023-10-27 Andrew Stubbs + + PR target/112088 + * config/gcn/gcn.cc (gcn_expand_epilogue): Fix kernel epilogue register + conflict. + +2023-10-27 Andrew Stubbs + + * config/gcn/gcn-valu.md + (vec_extract_nop): Mention "operands" in + condition to silence the warnings. + (vec_extract_nop): Likewise. + * config/gcn/gcn.md (*movti_insn): Likewise. + +2023-10-27 Richard Sandiford + + * recog.cc (insn_propagation::apply_to_pattern_1): Handle shared + ASM_OPERANDS. + +2023-10-27 Yangyu Chen + + * config/riscv/riscv.cc (rocket_tune_info): Fix int_div cost. + (sifive_7_tune_info, thead_c906_tune_info): Likewise. + +2023-10-27 Robin Dapp + + * config/riscv/autovec.md (rawmemchr): New expander. + * config/riscv/riscv-protos.h (gen_no_side_effects_vsetvl_rtx): + Define. + (expand_rawmemchr): Define. + * config/riscv/riscv-v.cc (force_vector_length_operand): Remove + static. + (expand_block_move): Move from here... + * config/riscv/riscv-string.cc (expand_block_move): ...to here. + (expand_rawmemchr): Add vectorized expander. + * internal-fn.cc (expand_RAWMEMCHR): Fix typo. + +2023-10-27 Vladimir N. Makarov + + * ira-costs.cc: (get_equiv_regno, calculate_equiv_gains): + Process reg equivalence invariants. + +2023-10-27 Uros Bizjak + + * config/i386/x86-tune.def (X86_TUNE_PARTIAL_MEMORY_READ_STALL): + i386: Fiy typo in "partial_memory_read_stall" tune option. + +2023-10-27 Victor Do Nascimento + + * config/aarch64/aarch64.cc (aarch64_print_operand): Add + support for CONST_STRING. + +2023-10-27 Roger Sayle + + PR target/110551 + * config/i386/i386.md (mul3): Make operands 1 and + 2 take "regiser_operand" and "nonimmediate_operand" respectively. + (mulqihi3): Likewise. + (*bmi2_umul3_1): Operand 2 needs to be register_operand + matching the %d constraint. Use umul_highpart RTX to represent + the highpart multiplication. + (*umul3_1): Operand 2 should use regiser_operand + predicate, and "a" rather than "0" as operands 0 and 2 have + different modes. + (define_split): For mul to mulx conversion, use the new + umul_highpart RTX representation. + (*mul3_1): Operand 1 should be register_operand + and the constraint %a as operands 0 and 1 have different modes. + (*mulqihi3_1): Operand 1 should be register_operand matching + the constraint %0. + (define_peephole2): Providing widening multiplication variants + of the peephole2s that tweak highpart multiplication register + allocation. + +2023-10-27 Lewis Hyatt + + PR preprocessor/87299 + * toplev.cc (no_backend): New static global. + (finalize): Remove argument no_backend, which is now a + static global. + (process_options): Likewise. + (do_compile): Likewise. + (target_reinit): Don't do anything in preprocess-only mode. + (toplev::main): Adapt to no_backend change. + (toplev::finalize): Likewise. + +2023-10-27 Andrew Pinski + + PR tree-optimization/101590 + PR tree-optimization/94884 + * match.pd (`(X BIT_OP Y) CMP X`): New pattern. + +2023-10-27 liuhongt + + PR target/103861 + * config/i386/i386-expand.cc (ix86_expand_sse_movcc): Handle + V2HF/V2BF/V4HF/V4BFmode. + * config/i386/i386.cc (ix86_get_mask_mode): Return QImode when + data_mode is V4HF/V2HFmode. + * config/i386/mmx.md (vec_cmpv4hfqi): New expander. + (vcond_mask_v4hi): Ditto. + (vcond_mask_qi): Ditto. + (vec_cmpv2hfqi): Ditto. + (vcond_mask_v2hi): Ditto. + (mmx_plendvb_): Add 2 combine splitters after the + patterns. + (mmx_pblendvb_v8qi): Ditto. + (v2hi3): Add a combine splitter after the pattern. + (3): Ditto. + (v8qi3): Ditto. + (3): Ditto. + * config/i386/sse.md (vcond): Merge this with .. + (vcond): .. this into .. + (vcond): .. this, + and extend to V8BF/V16BF/V32BFmode. + 2023-10-26 Juzhe-Zhong * config/riscv/riscv-opts.h (TARGET_MAX_LMUL): New macro. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index fa62fe1cbea..208e534ff57 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20231027 +20231028 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 00fb22b6c3a..1be099d5d04 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,12 @@ +2023-10-27 Lewis Hyatt + + PR preprocessor/87299 + * c-pragma.cc (init_pragma): Register `#pragma GCC target' and + related pragmas in preprocess-only mode, and enable early handling. + (c_reset_target_pragmas): New function refactoring code from... + (handle_pragma_reset_options): ...here. + * c-pragma.h (c_reset_target_pragmas): Declare. + 2023-10-26 David Malcolm * c-attribs.cc (c_common_attribute_table): Add diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8cf5b1f81d0..abde09cee84 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,29 @@ +2023-10-27 Patrick Palka + + PR c++/111929 + * init.cc (build_new_1): Remove unnecessary call to convert + on 'nelts'. Use build2 instead of fold_build2 for + 'outer_nelts_checks'. + +2023-10-27 Patrick Palka + + * cp-tree.h (maybe_warn_unparenthesized_assignment): Declare. + * semantics.cc (is_assignment_op_expr_p): Generalize to return + true for any assignment operator expression, not just one that + has been resolved to an operator overload. + (maybe_warn_unparenthesized_assignment): Factored out from ... + (maybe_convert_cond): ... here. + (finish_parenthesized_expr): Mention + maybe_warn_unparenthesized_assignment. + * typeck.cc (convert_for_assignment): Replace -Wparentheses + warning logic with maybe_warn_unparenthesized_assignment. + +2023-10-27 Lewis Hyatt + + PR preprocessor/87299 + * parser.cc (cp_lexer_new_main): Call c_reset_target_pragmas () + after preprocessing is complete, before starting compilation. + 2023-10-26 liuhongt * typeck.cc (build_vec_cmp): Pass type of arg0 to diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7dcd55fc90b..19da5ba9543 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,24 @@ +2023-10-27 Harald Anlauf + Steven G. Kargl + + PR fortran/104649 + * decl.cc (gfc_match_formal_arglist): Handle conflicting declarations + of a MODULE PROCEDURE when one of the declarations is an alternate + return. + +2023-10-27 Paul Thomas + + PR fortran/104625 + * expr.cc (gfc_check_vardef_context): Check that the target + does have a vector index before emitting the specific error. + * match.cc (copy_ts_from_selector_to_associate): Ensure that + class valued operator expressions set the selector rank and + use the rank to provide the associate variable with an + appropriate array spec. + * resolve.cc (resolve_operator): Reduce stacked parentheses to + a single pair. + (fixup_array_ref): Extract selector symbol from parentheses. + 2023-10-26 Paul-Antoine Arras Tobias Burnus diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index fbb386f6bec..5ecb9c4a5bb 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,18 @@ +2023-10-27 Gaius Mulley + + PR modula2/111530 + * gm2-libs-ch/cgetopt.c (cgetopt_cgetopt_long): Re-format. + (cgetopt_cgetopt_long_only): Re-format. + (cgetopt_SetOption): Re-format and assign flag to NULL + if name is also NULL. + * gm2-libs/GetOpt.def (AddLongOption): Add index parameter + and change flag to be a VAR parameter rather than a pointer. + (GetOptLong): Re-format. + (GetOpt): Correct comment. + * gm2-libs/GetOpt.mod: Re-write to rely on cgetopt rather + than implement long option creation in GetOpt. + * gm2-libs/cgetopt.def (SetOption): has_arg type is INTEGER. + 2023-10-25 Gaius Mulley PR modula2/111955 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ef125368d6a..718345c3548 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,104 @@ +2023-10-27 Patrick O'Neill + + * gcc.target/riscv/stack_save_restore_2.c: Accept any number + after __riscv_save_ and __riscv_restore_. + +2023-10-27 Harald Anlauf + Steven G. Kargl + + PR fortran/104649 + * gfortran.dg/pr104649.f90: New test. + +2023-10-27 Patrick Palka + + PR c++/111929 + * g++.dg/template/non-dependent28a.C: New test. + +2023-10-27 Patrick Palka + + * g++.dg/template/new14.C: New test. + +2023-10-27 Patrick Palka + + * g++.dg/warn/Wparentheses-13.C: Strengthen by expecting that + we issue the -Wparentheses warnings ahead of time. + * g++.dg/warn/Wparentheses-23.C: Likewise. + * g++.dg/warn/Wparentheses-32.C: Remove xfails. + +2023-10-27 Gaius Mulley + + PR modula2/111530 + * gm2/pimlib/run/pass/testgetopt.mod: New test. + +2023-10-27 Robin Dapp + + * gcc.dg/tree-prof/peel-2.c: Add + -fno-tree-loop-distribute-patterns. + * gcc.dg/tree-ssa/ldist-rawmemchr-1.c: Add riscv. + * gcc.dg/tree-ssa/ldist-rawmemchr-2.c: Ditto. + * gcc.target/riscv/rvv/rvv.exp: Add builtin directory. + * gcc.target/riscv/rvv/autovec/builtin/rawmemchr-1.c: New test. + +2023-10-27 Robin Dapp + + * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-1.c: Remove + Float16. + * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-2.c: Ditto. + * lib/target-supports.exp: Add zvfh handling. + * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-zvfh-1.c: New test. + * gcc.target/riscv/rvv/autovec/cond/cond_sqrt-zvfh-2.c: New test. + * gcc.target/riscv/rvv/autovec/cond/cond_sqrt_run-zvfh-1.c: New test. + * gcc.target/riscv/rvv/autovec/cond/cond_sqrt_run-zvfh-2.c: New test. + +2023-10-27 Paul-Antoine Arras + + * gfortran.dg/c_ptr_tests_20.f90: Moved to... + * gfortran.dg/gomp/c_ptr_tests_20.f90: ...here. + * gfortran.dg/c_ptr_tests_21.f90: Moved to... + * gfortran.dg/gomp/c_ptr_tests_21.f90: ...here. + +2023-10-27 Roger Sayle + + PR target/110551 + * gcc.target/i386/pr110551.c: New test case. + +2023-10-27 Lewis Hyatt + + PR preprocessor/87299 + * c-c++-common/pragma-target-1.c: New test. + * c-c++-common/pragma-target-2.c: New test. + * g++.target/i386/pr87299-1.C: New test. + * g++.target/i386/pr87299-2.C: New test. + * gcc.target/i386/pr87299-1.c: New test. + * gcc.target/i386/pr87299-2.c: New test. + * gcc.target/s390/target-attribute/tattr-2b.c: New test. + * gcc.target/aarch64/pragma_cpp_predefs_1b.c: New test. + * gcc.target/arm/pragma_arch_attribute_1b.c: New test. + * gcc.target/nios2/custom-fp-2b.c: New test. + * gcc.target/powerpc/float128-3b.c: New test. + +2023-10-27 Paul Thomas + + PR fortran/104625 + * gfortran.dg/pr104625.f90: New test. + * gfortran.dg/associate_55.f90: Change error check. + +2023-10-27 Andrew Pinski + + PR tree-optimization/101590 + PR tree-optimization/94884 + * gcc.dg/tree-ssa/bitcmp-1.c: New test. + * gcc.dg/tree-ssa/bitcmp-2.c: New test. + * gcc.dg/tree-ssa/bitcmp-3.c: New test. + * gcc.dg/tree-ssa/bitcmp-4.c: New test. + * gcc.dg/tree-ssa/bitcmp-5.c: New test. + * gcc.dg/tree-ssa/bitcmp-6.c: New test. + +2023-10-27 liuhongt + + * g++.target/i386/part-vect-vcondhf.C: New test. + * gcc.target/i386/part-vect-vec_cmphf.c: New test. + 2023-10-26 Juzhe-Zhong PR target/111318 diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 2bebe8d3fd8..7fda5997edf 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,27 @@ +2023-10-27 Gaius Mulley + + PR modula2/112110 + * libm2iso/wrapclock.cc (timezone): Return 0 if unable + to get the timezone from the tm struct. + +2023-10-27 Gaius Mulley + + PR modula2/111530 + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * config.h.in: Regenerate. + * configure: Regenerate. + * configure.ac (AC_CHECK_HEADERS): Include getopt.h. + (GM2_CHECK_LIB): getopt_long check. + (GM2_CHECK_LIB): getopt_long_only check. + * libm2cor/Makefile.in: Regenerate. + * libm2iso/Makefile.in: Regenerate. + * libm2log/Makefile.in: Regenerate. + * libm2min/Makefile.in: Regenerate. + * libm2pim/Makefile.in: Regenerate. + * libm2pim/cgetopt.cc: Re-write using conditional on configure + and long function code from libiberty/getopt.c. + 2023-10-25 Gaius Mulley PR modula2/111955