From ecca503bf4160d81616e355bca1eb7081af0501e Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 27 Oct 2023 00:17:12 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 144 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 28 ++++++++ gcc/c-family/ChangeLog | 6 ++ gcc/c/ChangeLog | 5 ++ gcc/cp/ChangeLog | 5 ++ gcc/fortran/ChangeLog | 8 +++ gcc/testsuite/ChangeLog | 102 ++++++++++++++++++++++++++++ libatomic/ChangeLog | 14 ++++ libffi/ChangeLog | 15 +++++ libstdc++-v3/ChangeLog | 30 +++++++++ 11 files changed, 358 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d50cd42a7d4..ac7999ddb77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,147 @@ +2023-10-26 Juzhe-Zhong + + * config/riscv/riscv-opts.h (TARGET_MAX_LMUL): New macro. + * config/riscv/riscv-v.cc (preferred_simd_mode): Adapt macro. + (autovectorize_vector_modes): Ditto. + (can_find_related_mode_p): Ditto. + +2023-10-26 Juzhe-Zhong + + PR target/111318 + PR target/111888 + * config.gcc: Add AVL propagation pass. + * config/riscv/riscv-passes.def (INSERT_PASS_AFTER): Ditto. + * config/riscv/riscv-protos.h (make_pass_avlprop): Ditto. + * config/riscv/t-riscv: Ditto. + * config/riscv/riscv-avlprop.cc: New file. + +2023-10-26 David Malcolm + + * doc/extend.texi (Common Function Attributes): Add + null_terminated_string_arg. + +2023-10-26 Andrew Pinski + + PR tree-optimization/111957 + * match.pd (`a != C1 ? abs(a) : C2`): New pattern. + +2023-10-26 Aldy Hernandez + + * range-op-float.cc (range_operator::fold_range): Delete unused + variable. + +2023-10-26 Aldy Hernandez + + * range-op-float.cc (range_operator::fold_range): Remove + superfluous code. + (range_operator::rv_fold): Remove unneeded arguments. + (operator_plus::rv_fold): Same. + (operator_minus::rv_fold): Same. + (operator_mult::rv_fold): Same. + (operator_div::rv_fold): Same. + * range-op-mixed.h: Remove lb, ub, and maybe_nan arguments from + rv_fold methods. + * range-op.h: Same. + +2023-10-26 Aldy Hernandez + + * range-op-float.cc (range_operator::fold_range): Pass frange + argument to rv_fold. + (range_operator::rv_fold): Add frange argument. + (operator_plus::rv_fold): Same. + (operator_minus::rv_fold): Same. + (operator_mult::rv_fold): Same. + (operator_div::rv_fold): Same. + * range-op-mixed.h: Add frange argument to rv_fold methods. + * range-op.h: Same. + +2023-10-26 Richard Ball + + * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add table output + for different machine modes for arm. + * config/arm/arm-protos.h (arm_output_casesi): New prototype. + * config/arm/arm.h (CASE_VECTOR_PC_RELATIVE): Make arm use + ASM_OUTPUT_ADDR_DIFF_ELT. + (CASE_VECTOR_SHORTEN_MODE): Change table size calculation for + TARGET_ARM. + (LABEL_ALIGN_AFTER_BARRIER): Change to accommodate .p2align 2 + for TARGET_ARM. + * config/arm/arm.cc (arm_output_casesi): New function. + * config/arm/arm.md (arm_casesi_internal): Change casesi expand + and insn. + for arm to use new function arm_output_casesi. + +2023-10-26 Iain Sandoe + + * config/darwin.h + (darwin_label_is_anonymous_local_objc_name): Make metadata names + linker-visibile for GNU objective C. + +2023-10-26 Vladimir N. Makarov + + * dwarf2out.cc (reg_loc_descriptor): Use lra_eliminate_regs when + LRA is used. + * ira-costs.cc: Include regset.h. + (equiv_can_be_consumed_p, get_equiv_regno, calculate_equiv_gains): + New functions. + (find_costs_and_classes): Call calculate_equiv_gains and redefine + mem_cost of pseudos with equivs when LRA is used. + * var-tracking.cc: Include ira.h and lra.h. + (vt_initialize): Use lra_eliminate_regs when LRA is used. + +2023-10-26 Juzhe-Zhong + + * doc/md.texi: Adapt COND_LEN pseudo code. + +2023-10-26 Roger Sayle + Richard Biener + + PR rtl-optimization/91865 + * combine.cc (make_compound_operation): Avoid creating a + ZERO_EXTEND of a ZERO_EXTEND. + +2023-10-26 Jiahao Xu + + * config/loongarch/lasx.md (vcond_mask_): Change to + (vcond_mask_): this. + * config/loongarch/lsx.md (vcond_mask_): Change to + (vcond_mask_): this. + +2023-10-26 Thomas Schwinge + + * ipa-icf.cc (sem_item::target_supports_symbol_aliases_p): + 'gcc_checking_assert (TARGET_SUPPORTS_ALIASES);' before + 'return true;'. + * ipa-visibility.cc (function_and_variable_visibility): Change + '#ifdef ASM_OUTPUT_DEF' to 'if (TARGET_SUPPORTS_ALIASES)'. + * varasm.cc (output_constant_pool_contents) + [#ifdef ASM_OUTPUT_DEF]: + 'gcc_checking_assert (TARGET_SUPPORTS_ALIASES);'. + (do_assemble_alias) [#ifdef ASM_OUTPUT_DEF]: + 'if (!TARGET_SUPPORTS_ALIASES)', + 'gcc_checking_assert (seen_error ());'. + (assemble_alias): Change '#if !defined (ASM_OUTPUT_DEF)' to + 'if (!TARGET_SUPPORTS_ALIASES)'. + (default_asm_output_anchor): + 'gcc_checking_assert (TARGET_SUPPORTS_ALIASES);'. + +2023-10-26 Alexandre Oliva + + PR tree-optimization/111520 + * gimple-harden-conditionals.cc + (pass_harden_compares::execute): Set EH edge probability and + EH block execution count. + +2023-10-26 Alexandre Oliva + + * tree-eh.h (make_eh_edges): Rename to... + (make_eh_edge): ... this. + * tree-eh.cc: Likewise. Adjust all callers... + * gimple-harden-conditionals.cc: ... here, ... + * gimple-harden-control-flow.cc: ... here, ... + * tree-cfg.cc: ... here, ... + * tree-inline.cc: ... and here. + 2023-10-25 Iain Sandoe * config/darwin.cc (darwin_override_options): Handle fPIE. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8cc3c140cdf..fa62fe1cbea 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20231026 +20231027 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 840de8c7dfd..79e6c71a1ad 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,31 @@ +2023-10-26 David Malcolm + + * region-model.cc + (region_model::check_external_function_for_access_attr): Split + out, replacing with... + (region_model::check_function_attr_access): ...this new function + and... + (region_model::check_function_attrs): ...this new function. + (region_model::check_one_function_attr_null_terminated_string_arg): + New. + (region_model::check_function_attr_null_terminated_string_arg): + New. + (region_model::handle_unrecognized_call): Update for renaming of + check_external_function_for_access_attr to check_function_attrs. + (region_model::check_for_null_terminated_string_arg): Add return + value to one overload. Make both overloads const. + * region-model.h: Include "stringpool.h" and "attribs.h". + (region_model::check_for_null_terminated_string_arg): Add return + value to one overload. Make both overloads const. + (region_model::check_external_function_for_access_attr): Delete + decl. + (region_model::check_function_attr_access): New decl. + (region_model::check_function_attr_null_terminated_string_arg): + New decl. + (region_model::check_one_function_attr_null_terminated_string_arg): + New decl. + (region_model::check_function_attrs): New decl. + 2023-10-09 David Malcolm * access-diagram.cc (boundaries::add): Explicitly state diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 5da9141e51e..00fb22b6c3a 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2023-10-26 David Malcolm + + * c-attribs.cc (c_common_attribute_table): Add + "null_terminated_string_arg". + (handle_null_terminated_string_arg_attribute): New. + 2023-10-23 Lewis Hyatt PR preprocessor/36887 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 7935f0e71ce..c6dccf87b46 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2023-10-26 liuhongt + + * c-typeck.cc (build_vec_cmp): Pass type of arg0 to + truth_type_for. + 2023-10-25 Thomas Schwinge * c-parser.cc (c_parser_omp_clause_name): Return diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9ac6f0a2603..8cf5b1f81d0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2023-10-26 liuhongt + + * typeck.cc (build_vec_cmp): Pass type of arg0 to + truth_type_for. + 2023-10-25 Jason Merrill * cp-tree.def: Improve OFFSET_REF comment. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 66f30fa02d5..7dcd55fc90b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,11 @@ +2023-10-26 Paul-Antoine Arras + Tobias Burnus + + * interface.cc (gfc_compare_types): Return true if one type is C_PTR + and the other is a compatible INTEGER(8). + * misc.cc (gfc_typename): Handle the case where an INTEGER(8) actually + holds a TYPE(C_PTR). + 2023-10-25 Thomas Schwinge * openmp.cc (omp_mask2): Split 'OMP_CLAUSE_HOST_SELF' into diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2274e2e6b20..ef125368d6a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,105 @@ +2023-10-26 Juzhe-Zhong + + PR target/111318 + PR target/111888 + * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-5.c: Adapt test. + * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/partial/select_vl-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/ternop/ternop_nofm-2.c: Ditto. + * gcc.target/riscv/rvv/autovec/pr111318.c: New test. + * gcc.target/riscv/rvv/autovec/pr111888.c: New test. + +2023-10-26 David Malcolm + + * c-c++-common/analyzer/attr-null_terminated_string_arg-access-read_write.c: + New test. + * c-c++-common/analyzer/attr-null_terminated_string_arg-access-without-size.c: + New test. + * c-c++-common/analyzer/attr-null_terminated_string_arg-multiple.c: + New test. + * c-c++-common/analyzer/attr-null_terminated_string_arg-nonnull-2.c: + New test. + * c-c++-common/analyzer/attr-null_terminated_string_arg-nonnull-sized.c: + New test. + * c-c++-common/analyzer/attr-null_terminated_string_arg-nonnull.c: + New test. + * c-c++-common/analyzer/attr-null_terminated_string_arg-nullable-sized.c: + New test. + * c-c++-common/analyzer/attr-null_terminated_string_arg-nullable.c: + New test. + * c-c++-common/attr-null_terminated_string_arg.c: New test. + +2023-10-26 Iain Sandoe + + * gcc.target/aarch64/aarch64.exp: Use aarch64-with-arch-dg-options + to normaize the options to the tests in aarch64.exp. + +2023-10-26 Iain Sandoe + + * lib/target-libpath.exp: Skip DYLD_LIBRARY_PATH for all + current OS versions > 10. + +2023-10-26 Andrew Pinski + + PR tree-optimization/111957 + * gcc.dg/tree-ssa/phi-opt-40.c: New test. + +2023-10-26 Paul-Antoine Arras + + * gfortran.dg/c_ptr_tests_20.f90: Add "fopenmp" effective target. + * gfortran.dg/c_ptr_tests_21.f90: Add "fopenmp" effective target. + +2023-10-26 Patrick O'Neill + + * g++.target/riscv/rvv/rvv.exp: Add -mabi argument to CFLAGS. + +2023-10-26 Richard Sandiford + + * lib/target-supports-dg.exp (check-flags): Move default argument + handling further up. Fix a couple of issues in the lappends. + Avoid frobbing the compiler flags if the return value is already + known to be 1. + * lib/dg-pch.exp (dg-flags-pch): Process the dg-skip-if and + dg-require-effective-target directives to see whether the + assembly test should be skipped. + * gcc.dg/pch/valid-1.c: Remove dg-require-effective-target. + * gcc.dg/pch/valid-1b.c: Likewise. + +2023-10-26 Richard Ball + + * gcc.target/arm/arm-switchstatement.c: New test. + +2023-10-26 Paul-Antoine Arras + Tobias Burnus + + * gfortran.dg/c_ptr_tests_20.f90: New test, checking that INTEGER(8) + and TYPE(C_PTR) are recognised as compatible. + * gfortran.dg/c_ptr_tests_21.f90: New test, exercising the error + detection for C_FUNPTR. + +2023-10-26 Roger Sayle + Richard Biener + + PR rtl-optimization/91865 + * gcc.target/msp430/pr91865.c: New test case. + +2023-10-26 Jiahao Xu + + * gcc.target/loongarch/vector/lasx/lasx-vcond-1.c: New test. + * gcc.target/loongarch/vector/lasx/lasx-vcond-2.c: New test. + * gcc.target/loongarch/vector/lsx/lsx-vcond-1.c: New test. + * gcc.target/loongarch/vector/lsx/lsx-vcond-2.c: New test. + +2023-10-26 Stefan Schulze Frielinghaus + + * gcc.misc-tests/godump-1.c: Move _BitInt tests into godump-2.c. + * gcc.misc-tests/godump-2.c: New test. + +2023-10-26 Alexandre Oliva + + PR tree-optimization/111520 + * g++.dg/torture/harden-comp-pr111520.cc: New. + 2023-10-25 Wilco Dijkstra * gcc.target/aarch64/imm_choice_comparison.c: Change tests. diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index b639ebbc5c0..cf10792c916 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,17 @@ +2023-10-26 Thomas Schwinge + + PR testsuite/109951 + * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'. + * Makefile.in: Regenerate. + * configure: Likewise. + * testsuite/Makefile.in: Likewise. + * testsuite/lib/libatomic.exp (libatomic_init): If + '--with-build-sysroot=[...]' was specified, use it for build-tree + testing. + * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't + set. + (SYSROOT_CFLAGS_FOR_TARGET): Set. + 2023-10-23 Jan Beulich * Makefile.am (all-multi): Drop commands. diff --git a/libffi/ChangeLog b/libffi/ChangeLog index d1d5739e1fd..21111cab0f9 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,18 @@ +2023-10-26 Thomas Schwinge + + PR testsuite/109951 + * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'. + : Don't set 'CC_FOR_TARGET', 'CXX_FOR_TARGET', instead + set 'SYSROOT_CFLAGS_FOR_TARGET'. + * Makefile.in: Regenerate. + * configure: Likewise. + * include/Makefile.in: Likewise. + * man/Makefile.in: Likewise. + * testsuite/Makefile.in: Likewise. + * testsuite/lib/libffi.exp (libffi_target_compile): If + '--with-build-sysroot=[...]' was specified, use it for build-tree + testing. + 2023-10-22 Iain Sandoe * testsuite/lib/libffi.exp: Likewise. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7ae144a3b54..defc0a280a1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,33 @@ +2023-10-26 Jonathan Wakely + + PR libstdc++/112089 + * include/std/shared_mutex (shared_lock::unlock): Change errc + constant to operation_not_permitted. + * testsuite/30_threads/shared_lock/locking/112089.cc: New test. + +2023-10-26 Jonathan Wakely + + * testsuite/20_util/duration/io.cc: Double timeout using + dg-timeout-factor. + * testsuite/std/time/day/io.cc: Likewise. + * testsuite/std/time/format.cc: Likewise. + * testsuite/std/time/hh_mm_ss/io.cc: Likewise. + * testsuite/std/time/month/io.cc: Likewise. + * testsuite/std/time/month_day/io.cc: Likewise. + * testsuite/std/time/month_day_last/io.cc: Likewise. + * testsuite/std/time/month_weekday/io.cc: Likewise. + * testsuite/std/time/month_weekday_last/io.cc: Likewise. + * testsuite/std/time/weekday/io.cc: Likewise. + * testsuite/std/time/weekday_indexed/io.cc: Likewise. + * testsuite/std/time/weekday_last/io.cc: Likewise. + * testsuite/std/time/year/io.cc: Likewise. + * testsuite/std/time/year_month/io.cc: Likewise. + * testsuite/std/time/year_month_day/io.cc: Likewise. + * testsuite/std/time/year_month_day_last/io.cc: Likewise. + * testsuite/std/time/year_month_weekday/io.cc: Likewise. + * testsuite/std/time/year_month_weekday_last/io.cc: Likewise. + * testsuite/std/time/zoned_time/io.cc: Likewise. + 2023-10-25 Jonathan Wakely PR libstdc++/111936