Daily bump.

This commit is contained in:
GCC Administrator 2023-10-27 00:17:12 +00:00
parent 446efa52a8
commit ecca503bf4
11 changed files with 358 additions and 1 deletions

View File

@ -1,3 +1,147 @@
2023-10-26 Juzhe-Zhong <juzhe.zhong@rivai.ai>
* 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 <juzhe.zhong@rivai.ai>
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 <dmalcolm@redhat.com>
* doc/extend.texi (Common Function Attributes): Add
null_terminated_string_arg.
2023-10-26 Andrew Pinski <pinskia@gmail.com>
PR tree-optimization/111957
* match.pd (`a != C1 ? abs(a) : C2`): New pattern.
2023-10-26 Aldy Hernandez <aldyh@redhat.com>
* range-op-float.cc (range_operator::fold_range): Delete unused
variable.
2023-10-26 Aldy Hernandez <aldyh@redhat.com>
* 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 <aldyh@redhat.com>
* 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 <richard.ball@arm.com>
* 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 <iain@sandoe.co.uk>
* 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 <vmakarov@redhat.com>
* 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 <juzhe.zhong@rivai.ai>
* doc/md.texi: Adapt COND_LEN pseudo code.
2023-10-26 Roger Sayle <roger@nextmovesoftware.com>
Richard Biener <rguenther@suse.de>
PR rtl-optimization/91865
* combine.cc (make_compound_operation): Avoid creating a
ZERO_EXTEND of a ZERO_EXTEND.
2023-10-26 Jiahao Xu <xujiahao@loongson.cn>
* config/loongarch/lasx.md (vcond_mask_<ILASX:mode><ILASX:mode>): Change to
(vcond_mask_<mode><mode256_i>): this.
* config/loongarch/lsx.md (vcond_mask_<ILSX:mode><ILSX:mode>): Change to
(vcond_mask_<mode><mode_i>): this.
2023-10-26 Thomas Schwinge <thomas@codesourcery.com>
* 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 <oliva@adacore.com>
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 <oliva@adacore.com>
* 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 <iain@sandoe.co.uk>
* config/darwin.cc (darwin_override_options): Handle fPIE.

View File

@ -1 +1 @@
20231026
20231027

View File

@ -1,3 +1,31 @@
2023-10-26 David Malcolm <dmalcolm@redhat.com>
* 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 <dmalcolm@redhat.com>
* access-diagram.cc (boundaries::add): Explicitly state

View File

@ -1,3 +1,9 @@
2023-10-26 David Malcolm <dmalcolm@redhat.com>
* c-attribs.cc (c_common_attribute_table): Add
"null_terminated_string_arg".
(handle_null_terminated_string_arg_attribute): New.
2023-10-23 Lewis Hyatt <lhyatt@gmail.com>
PR preprocessor/36887

View File

@ -1,3 +1,8 @@
2023-10-26 liuhongt <hongtao.liu@intel.com>
* c-typeck.cc (build_vec_cmp): Pass type of arg0 to
truth_type_for.
2023-10-25 Thomas Schwinge <thomas@codesourcery.com>
* c-parser.cc (c_parser_omp_clause_name): Return

View File

@ -1,3 +1,8 @@
2023-10-26 liuhongt <hongtao.liu@intel.com>
* typeck.cc (build_vec_cmp): Pass type of arg0 to
truth_type_for.
2023-10-25 Jason Merrill <jason@redhat.com>
* cp-tree.def: Improve OFFSET_REF comment.

View File

@ -1,3 +1,11 @@
2023-10-26 Paul-Antoine Arras <pa@codesourcery.com>
Tobias Burnus <tobias@codesourcery.com>
* 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 <thomas@codesourcery.com>
* openmp.cc (omp_mask2): Split 'OMP_CLAUSE_HOST_SELF' into

View File

@ -1,3 +1,105 @@
2023-10-26 Juzhe-Zhong <juzhe.zhong@rivai.ai>
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 <dmalcolm@redhat.com>
* 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 <iain@sandoe.co.uk>
* 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 <iain@sandoe.co.uk>
* lib/target-libpath.exp: Skip DYLD_LIBRARY_PATH for all
current OS versions > 10.
2023-10-26 Andrew Pinski <pinskia@gmail.com>
PR tree-optimization/111957
* gcc.dg/tree-ssa/phi-opt-40.c: New test.
2023-10-26 Paul-Antoine Arras <pa@codesourcery.com>
* 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 <patrick@rivosinc.com>
* g++.target/riscv/rvv/rvv.exp: Add -mabi argument to CFLAGS.
2023-10-26 Richard Sandiford <richard.sandiford@arm.com>
* 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 <richard.ball@arm.com>
* gcc.target/arm/arm-switchstatement.c: New test.
2023-10-26 Paul-Antoine Arras <pa@codesourcery.com>
Tobias Burnus <tobias@codesourcery.com>
* 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 <roger@nextmovesoftware.com>
Richard Biener <rguenther@suse.de>
PR rtl-optimization/91865
* gcc.target/msp430/pr91865.c: New test case.
2023-10-26 Jiahao Xu <xujiahao@loongson.cn>
* 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 <stefansf@linux.ibm.com>
* 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 <oliva@adacore.com>
PR tree-optimization/111520
* g++.dg/torture/harden-comp-pr111520.cc: New.
2023-10-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
* gcc.target/aarch64/imm_choice_comparison.c: Change tests.

View File

@ -1,3 +1,17 @@
2023-10-26 Thomas Schwinge <thomas@codesourcery.com>
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 <jbeulich@suse.com>
* Makefile.am (all-multi): Drop commands.

View File

@ -1,3 +1,18 @@
2023-10-26 Thomas Schwinge <thomas@codesourcery.com>
PR testsuite/109951
* configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'.
<local.exp>: 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 <iain@sandoe.co.uk>
* testsuite/lib/libffi.exp: Likewise.

View File

@ -1,3 +1,33 @@
2023-10-26 Jonathan Wakely <jwakely@redhat.com>
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 <jwakely@redhat.com>
* 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 <jwakely@redhat.com>
PR libstdc++/111936