diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39d50aa3c22..181df09e587 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,237 @@ +2023-08-03 Jan Hubicka + + * tree-cfg.cc (print_loop_info): Print entry count. + +2023-08-03 Jan Hubicka + + * tree-ssa-loop-split.cc (split_loop): Update estimated iteration counts. + +2023-08-03 Jan Hubicka + + PR bootstrap/110857 + * cfgloopmanip.cc (scale_loop_profile): (Un)initialize + unadjusted_exit_count. + +2023-08-03 Aldy Hernandez + + * ipa-prop.cc (ipa_compute_jump_functions_for_edge): Read global + value/mask. + +2023-08-03 Xiao Zeng + + * config/riscv/riscv.cc (riscv_expand_conditional_move): Recognize + various Zicond patterns. + * config/riscv/riscv.md (movcc): Allow TARGET_ZICOND. Use + sfb_alu_operand for both arms of the conditional move. + Co-authored-by: Jeff Law + +2023-08-03 Cupertino Miranda + + PR target/107844 + PR target/107479 + PR target/107480 + PR target/107481 + * config.gcc: Added core-builtins.cc and .o files. + * config/bpf/bpf-passes.def: Removed file. + * config/bpf/bpf-protos.h (bpf_add_core_reloc, + bpf_replace_core_move_operands): New prototypes. + * config/bpf/bpf.cc (enum bpf_builtins, is_attr_preserve_access, + maybe_make_core_relo, bpf_core_field_info, bpf_core_compute, + bpf_core_get_index, bpf_core_new_decl, bpf_core_walk, + bpf_is_valid_preserve_field_info_arg, is_attr_preserve_access, + handle_attr_preserve, pass_data_bpf_core_attr, pass_bpf_core_attr): + Removed. + (def_builtin, bpf_expand_builtin, bpf_resolve_overloaded_builtin): Changed. + * config/bpf/bpf.md (define_expand mov): Changed. + (mov_reloc_core): Added. + * config/bpf/core-builtins.cc (struct cr_builtin, enum + cr_decision struct cr_local, struct cr_final, struct + core_builtin_helpers, enum bpf_plugin_states): Added types. + (builtins_data, core_builtin_helpers, core_builtin_type_defs): + Added variables. + (allocate_builtin_data, get_builtin-data, search_builtin_data, + remove_parser_plugin, compare_same_kind, compare_same_ptr_expr, + compare_same_ptr_type, is_attr_preserve_access, core_field_info, + bpf_core_get_index, compute_field_expr, + pack_field_expr_for_access_index, pack_field_expr_for_preserve_field, + process_field_expr, pack_enum_value, process_enum_value, pack_type, + process_type, bpf_require_core_support, make_core_relo, read_kind, + kind_access_index, kind_preserve_field_info, kind_enum_value, + kind_type_id, kind_preserve_type_info, get_core_builtin_fndecl_for_type, + bpf_handle_plugin_finish_type, bpf_init_core_builtins, + construct_builtin_core_reloc, bpf_resolve_overloaded_core_builtin, + bpf_expand_core_builtin, bpf_add_core_reloc, + bpf_replace_core_move_operands): Added functions. + * config/bpf/core-builtins.h (enum bpf_builtins): Added. + (bpf_init_core_builtins, bpf_expand_core_builtin, + bpf_resolve_overloaded_core_builtin): Added functions. + * config/bpf/coreout.cc (struct bpf_core_extra): Added. + (bpf_core_reloc_add, output_asm_btfext_core_reloc): Changed. + * config/bpf/coreout.h (bpf_core_reloc_add) Changed prototype. + * config/bpf/t-bpf: Added core-builtins.o. + * doc/extend.texi: Added documentation for new BPF builtins. + +2023-08-03 Andrew MacLeod + + * gimple-range-fold.cc (fold_using_range::range_of_range_op): Add + ranges to the call to relation_fold_and_or. + (fold_using_range::relation_fold_and_or): Add op1 and op2 ranges. + (fur_source::register_outgoing_edges): Add op1 and op2 ranges. + * gimple-range-fold.h (relation_fold_and_or): Adjust params. + * gimple-range-gori.cc (gori_compute::compute_operand_range): Add + a varying op1 and op2 to call. + * range-op-float.cc (range_operator::op1_op2_relation): New dafaults. + (operator_equal::op1_op2_relation): New float version. + (operator_not_equal::op1_op2_relation): Ditto. + (operator_lt::op1_op2_relation): Ditto. + (operator_le::op1_op2_relation): Ditto. + (operator_gt::op1_op2_relation): Ditto. + (operator_ge::op1_op2_relation) Ditto. + * range-op-mixed.h (operator_equal::op1_op2_relation): New float + prototype. + (operator_not_equal::op1_op2_relation): Ditto. + (operator_lt::op1_op2_relation): Ditto. + (operator_le::op1_op2_relation): Ditto. + (operator_gt::op1_op2_relation): Ditto. + (operator_ge::op1_op2_relation): Ditto. + * range-op.cc (range_op_handler::op1_op2_relation): Dispatch new + variations. + (range_operator::op1_op2_relation): Add extra params. + (operator_equal::op1_op2_relation): Ditto. + (operator_not_equal::op1_op2_relation): Ditto. + (operator_lt::op1_op2_relation): Ditto. + (operator_le::op1_op2_relation): Ditto. + (operator_gt::op1_op2_relation): Ditto. + (operator_ge::op1_op2_relation): Ditto. + * range-op.h (range_operator): New prototypes. + (range_op_handler): Ditto. + +2023-08-03 Andrew MacLeod + + * gimple-range-gori.cc (gori_compute::compute_operand1_range): + Use identity relation. + (gori_compute::compute_operand2_range): Ditto. + * value-relation.cc (get_identity_relation): New. + * value-relation.h (get_identity_relation): New prototype. + +2023-08-03 Andrew MacLeod + + * value-range.h (Value_Range::set_varying): Set the type. + (Value_Range::set_zero): Ditto. + (Value_Range::set_nonzero): Ditto. + +2023-08-03 Jeff Law + + * config/riscv/riscv.cc (riscv_rtx_costs): Remove errant hunk from + recent commit. + +2023-08-03 Pan Li + + * config/riscv/riscv-vector-builtins-bases.cc: Add vfsub. + +2023-08-03 Richard Sandiford + + * poly-int.h (can_div_trunc_p): Succeed for more boundary conditions. + +2023-08-03 Richard Biener + + PR tree-optimization/110838 + * tree-vect-patterns.cc (vect_recog_over_widening_pattern): + Adjust the shift operand of RSHIFT_EXPRs. + +2023-08-03 Richard Biener + + PR tree-optimization/110702 + * tree-ssa-loop-ivopts.cc (rewrite_use_address): When + we created a NULL pointer based access rewrite that to + a LEA. + +2023-08-03 Richard Biener + + * tree-ssa-sink.cc: Include tree-ssa-live.h. + (pass_sink_code::execute): Instantiate virtual_operand_live + and pass it down. + (sink_code_in_bb): Pass down virtual_operand_live. + (statement_sink_location): Get virtual_operand_live and + verify we are not sinking loads across stores by looking up + the live virtual operand at the sink location. + +2023-08-03 Richard Biener + + * tree-ssa-live.h (class virtual_operand_live): New. + * tree-ssa-live.cc (virtual_operand_live::init): New. + (virtual_operand_live::get_live_in): Likewise. + (virtual_operand_live::get_live_out): Likewise. + +2023-08-03 Richard Biener + + * passes.def: Exchange loop splitting and final value + replacement passes. + +2023-08-03 Stefan Schulze Frielinghaus + + * config/s390/s390.cc (expand_perm_as_a_vlbr_vstbr_candidate): + New function which handles bswap patterns for vec_perm_const. + (vectorize_vec_perm_const_1): Call new function. + * config/s390/vector.md (*bswap): Fix operands in output + template. + (*vstbr): New insn. + +2023-08-03 Alexandre Oliva + + * config/vxworks-smp.opt: New. Introduce -msmp. + * config.gcc: Enable it on powerpc* vxworks prior to 7r*. + * config/rs6000/vxworks.h (STARTFILE_PREFIX_SPEC): Choose + lib_smp when -msmp is present in the command line. + * doc/invoke.texi: Document it. + +2023-08-03 Yanzhang Wang + + * config/riscv/riscv.cc (riscv_save_reg_p): Save ra for leaf + when enabling -mno-omit-leaf-frame-pointer + (riscv_option_override): Override omit-frame-pointer. + (riscv_frame_pointer_required): Save s0 for non-leaf function + (TARGET_FRAME_POINTER_REQUIRED): Override defination + * config/riscv/riscv.opt: Add option support. + +2023-08-03 Roger Sayle + + PR target/110792 + * config/i386/i386.md (ti3): For rotations by 64 bits + place operand in a register before gen_64ti2_doubleword. + (di3): Likewise, for rotations by 32 bits, place + operand in a register before gen_32di2_doubleword. + (32di2_doubleword): Constrain operand to be in register. + (64ti2_doubleword): Likewise. + +2023-08-03 Pan Li + + * config/riscv/riscv-vector-builtins-bases.cc + (vfmul_frm_obj): New declaration. + (Base): Likewise. + * config/riscv/riscv-vector-builtins-bases.h: Likewise. + * config/riscv/riscv-vector-builtins-functions.def + (vfmul_frm): New function definition. + * config/riscv/vector.md: Add vfmul to frm_mode. + +2023-08-03 Andrew Pinski + + * match.pd (`~X & X`): Check that the types match. + (`~x | x`, `~x ^ x`): Likewise. + +2023-08-03 Pan Li + + * config/riscv/riscv-vector-builtins-bases.h: Remove + redudant declaration. + +2023-08-03 Pan Li + + * config/riscv/riscv-vector-builtins-bases.cc (BASE): Add + vfwsub frm. + * config/riscv/riscv-vector-builtins-bases.h: Add declaration. + * config/riscv/riscv-vector-builtins-functions.def (vfwsub_frm): + Add vfwsub function definitions. + 2023-08-02 Stefan Schulze Frielinghaus PR rtl-optimization/110867 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 189c2463935..f1bb943f0fd 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230803 +20230804 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ca39feafbeb..5a460e1f9d6 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,37 @@ +2023-08-03 Sheri Bernstein + + * libgnat/s-aridou.adb: Add pragma to exempt Improper_Returns. + * libgnat/s-atopri.adb (Lock_Free_Try_Write): Likewise. + * libgnat/s-bitops.adb (Bit_Eq): Likewise. + * libgnat/s-carsi8.adb: Likewise. + * libgnat/s-carun8.adb: Likewise. + * libgnat/s-casi16.adb: Likewise. + * libgnat/s-casi32.adb: Likewise. + * libgnat/s-casi64.adb: Likewise. + * libgnat/s-caun16.adb: Likewise. + * libgnat/s-caun32.adb: Likewise. + * libgnat/s-caun64.adb: Likewise. + * libgnat/s-exponn.adb: Likewise. + * libgnat/s-expont.adb: Likewise. + * libgnat/s-valspe.adb: Likewise. + * libgnat/s-vauspe.adb: Likewise. + +2023-08-03 Vasiliy Fofanov + + * libgnat/s-imageb.adb (Set_Image_Based_Unsigned): Rewritten. + * libgnat/s-imagew.adb (Set_Image_Width_Unsigned): Likewise. + +2023-08-03 Eric Botcazou + + * exp_util.adb (Make_Invariant_Call): Convert the expression to + the type of the formal parameter if need be. + +2023-08-03 Eric Botcazou + + * libgnat/s-dwalin.adb ("-"): New subtraction operator. + (Enable_Cache): Use it to compute the offset. + (Symbolic_Address): Likewise. + 2023-08-01 Yannick Moy * repinfo.adb (Compute_Max_Length): Set parameter to print number diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 8ffc4a4c30a..874b56dc478 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,8 @@ +2023-08-03 David Malcolm + + PR analyzer/110882 + * region.cc (int_size_in_bits): Fail on zero-sized types. + 2023-08-02 Eric Feng PR analyzer/107646 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cbc678b42e5..eb65ecf1dd3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,94 @@ +2023-08-03 Aldy Hernandez + + * g++.dg/ipa/pure-const-3.C: Move source to... + * g++.dg/ipa/pure-const-3.h: ...here, and adjust original test + accordingly. + * g++.dg/ipa/pure-const-3b.C: New. + +2023-08-03 Cupertino Miranda + + * gcc.target/bpf/core-builtin-enumvalue.c: New test. + * gcc.target/bpf/core-builtin-enumvalue-errors.c: New test. + * gcc.target/bpf/core-builtin-enumvalue-opt.c: New test. + * gcc.target/bpf/core-builtin-fieldinfo-const-elimination.c: New test. + * gcc.target/bpf/core-builtin-fieldinfo-errors-1.c: Changed. + * gcc.target/bpf/core-builtin-fieldinfo-errors-2.c: Changed. + * gcc.target/bpf/core-builtin-type-based.c: New test. + * gcc.target/bpf/core-builtin-type-id.c: New test. + * gcc.target/bpf/core-support.h: New test. + +2023-08-03 David Malcolm + + PR analyzer/108171 + * gcc.dg/analyzer/pr108171.c: New test. + +2023-08-03 David Malcolm + + PR analyzer/110882 + * gcc.dg/analyzer/pr110882.c: New test. + +2023-08-03 Richard Sandiford + + * gcc.dg/plugin/poly-int-tests.h (test_can_div_trunc_p_const) + (test_can_div_trunc_p_const): Add more tests. + +2023-08-03 Richard Biener + + PR tree-optimization/110838 + * gcc.dg/torture/pr110838.c: New testcase. + +2023-08-03 Richard Biener + + PR tree-optimization/110702 + * gcc.dg/torture/pr110702.c: New testcase. + +2023-08-03 Richard Biener + + * gcc.dg/tree-ssa/ssa-sink-20.c: New testcase. + +2023-08-03 Richard Biener + + * gcc.target/i386/pr87007-5.c: Make sure we split the loop + and eliminate both in the end. + +2023-08-03 Stefan Schulze Frielinghaus + + * gcc.target/s390/s390.exp: Add subdirectory vxe2. + * gcc.target/s390/vxe2/vlbr-1.c: New test. + * gcc.target/s390/vxe2/vstbr-1.c: New test. + * gcc.target/s390/vxe2/vstbr-2.c: New test. + +2023-08-03 Stefan Schulze Frielinghaus + + * lib/target-supports.exp (check_effective_target_vect_bswap): + Add s390. + +2023-08-03 Yanzhang Wang + + * gcc.target/riscv/omit-frame-pointer-1.c: New test. + * gcc.target/riscv/omit-frame-pointer-2.c: New test. + * gcc.target/riscv/omit-frame-pointer-3.c: New test. + * gcc.target/riscv/omit-frame-pointer-4.c: New test. + * gcc.target/riscv/omit-frame-pointer-test.c: New test. + +2023-08-03 Roger Sayle + + PR target/110792 + * g++.target/i386/pr110792.C: New 32-bit C++ test case. + * gcc.target/i386/pr110792.c: New 64-bit C test case. + +2023-08-03 Pan Li + + * gcc.target/riscv/rvv/base/float-point-single-mul.c: New test. + +2023-08-03 Andrew Pinski + + * gcc.c-torture/execute/20230802-1.c: New test. + +2023-08-03 Pan Li + + * gcc.target/riscv/rvv/base/float-point-widening-sub.c: New test. + 2023-08-02 Eric Feng PR analyzer/107646 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 11d44712d6a..0ab4192522b 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2023-08-03 Richard Biener + + * zstdtest.c (test_samples): Properly compute the allocation + size for the uncompressed data. + 2023-07-31 Ian Lance Taylor * configure.ac: Check for _pgmptr declaration.