diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 3df6ae6e8de..cdb63c3aaad 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2024-04-12 Filip Kastl + + * check-params-in-docs.py: Ignore target specific params. + 2024-04-11 Martin Jambor * check-params-in-docs.py (ignored): Add diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36dabbd2503..91060182dcd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,82 @@ +2024-04-12 Andrew Carlotti + + * config/aarch64/aarch64-option-extensions.def: Add RCPC to + RCPC3 dependencies. + * config/aarch64/aarch64.h (AARCH64_ISA_RCPC8_4): Add test for + RCPC3 bit + +2024-04-12 Andrew Carlotti + + * config/aarch64/aarch64-arches.def: Add CSSC to V8_9A + dependencies. + +2024-04-12 Will Schmidt + Peter Bergner + + PR target/101865 + * config/rs6000/rs6000-builtin.cc (rs6000_builtin_is_supported): Use + TARGET_POWER8. + * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Use + OPTION_MASK_POWER8. + * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_POWER8. + (ISA_2_7_MASKS_SERVER): Likewise. + * config/rs6000/rs6000.cc (rs6000_option_override_internal): Update + comment. Use OPTION_MASK_POWER8 and TARGET_POWER8. + * config/rs6000/rs6000.h (TARGET_SYNC_HI_QI): Use TARGET_POWER8. + * config/rs6000/rs6000.md (define_attr "isa"): Add p8. + (define_attr "enabled"): Handle it. + (define_insn "prefetch"): Use TARGET_POWER8. + * config/rs6000/rs6000.opt (mpower8-internal): New. + +2024-04-12 Jason Merrill + Patrick Palka + + PR c++/113141 + * doc/invoke.texi: Document -Wcast-user-defined. + +2024-04-12 Tatsuyuki Ishi + + * config/riscv/riscv.opt.urls: Regenerated. + +2024-04-12 Andrew Pinski + + PR tree-optimization/114666 + * match.pd (`!a?b:c`): Reject signed types for the condition. + (`a?~t:t`): Likewise. + +2024-04-12 Richard Sandiford + + * config/aarch64/aarch64.cc (aarch64_output_sme_zero_za): Require + all tiles to have the same suffix. + +2024-04-12 Pan Li + + * config/riscv/riscv.cc (riscv_vector_float_type_p): Take int + as the return value instead of unsigned. + (riscv_vector_element_bitsize): Ditto. + (riscv_vector_required_min_vlen): Ditto. + (riscv_validate_vector_type): Take int type for local variable(s). + +2024-04-12 Jakub Jelinek + + * tree-cfg.cc (gimple_verify_flow_info): Make the misplaced + returns_twice diagnostics translatable. + +2024-04-12 Jakub Jelinek + + PR sanitizer/114687 + * gimple-iterator.cc (gsi_safe_insert_before): Only use + edge_before_returns_twice_call if bb_has_abnormal_pred. + (gsi_safe_insert_seq_before): Likewise. + * gimple-lower-bitint.cc (bitint_large_huge::lower_call): Only + push to m_returns_twice_calls if bb_has_abnormal_pred. + +2024-04-12 Pan Li + + PR target/114639 + * config/riscv/riscv.cc (riscv_function_value_regno_p): Add + TARGET_VECTOR predicate for V_RETURN regno. + 2024-04-11 David Faust * btfout.cc (btf_asm_type_ref): Convert IDs to BTF internally and diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index ec62272a850..a25dc7472c0 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240412 +20240413 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 7f200cf2071..113dd8ade45 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,8 @@ +2024-04-12 Stefan Schulze Frielinghaus + + * region-model.cc (region_model::check_region_size): Bail out + early on function pointers. + 2024-04-10 David Malcolm PR analyzer/114472 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index e2bf9e57728..5c577bbc814 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2024-04-12 Jason Merrill + Patrick Palka + + PR c++/113141 + * c.opt: Add -Wcast-user-defined. + 2024-04-05 Marek Polacek * c-warn.cc (warn_about_parentheses): Remove an #undef. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c77e2801316..9282af5680a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,85 @@ +2024-04-12 Marek Polacek + + PR c++/109966 + * typeck2.cc (potential_prvalue_result_of): Remove. + (replace_placeholders_for_class_temp_r): Check TARGET_EXPR_ELIDING_P. + Use a pset. Don't replace_placeholders in TARGET_EXPRs that initialize + a function argument. + +2024-04-12 Patrick Palka + + PR c++/99426 + * module.cc (merge_kind::MK_local_type): New enumerator. + (merge_kind_name): Update. + (trees_out::chained_decls): Move BLOCK-specific handling + of DECL_LOCAL_DECL_P decls to ... + (trees_out::core_vals) : ... here. Stream + BLOCK_VARS manually. + (trees_in::core_vals) : Stream BLOCK_VARS + manually. Handle deduplicated local types.. + (trees_out::key_local_type): Define. + (trees_in::key_local_type): Define. + (trees_out::get_merge_kind) : Return + MK_local_type for a local type. + (trees_out::key_mergeable) : Use + key_local_type. + (trees_in::key_mergeable) : Likewise. + (trees_in::is_matching_decl): Be flexible with type mismatches + for local entities. + (trees_in::register_duplicate): Also register the + DECL_TEMPLATE_RESULT of a TEMPLATE_DECL as a duplicate. + (depset_cmp): Return 0 for equal IDENTIFIER_HASH_VALUEs. + +2024-04-12 Jason Merrill + Patrick Palka + + PR c++/113141 + * call.cc (reference_binding): For an invalid cast, warn and don't + recalculate. + +2024-04-12 Jason Merrill + Patrick Palka + + DR 1996 + PR c++/113141 + * call.cc (reference_binding): Check direct binding from + a single-element list. + +2024-04-12 Jakub Jelinek + + PR c++/114691 + * semantics.cc (simplify_loop_decl_cond): Use cp_build_unary_op with + TRUTH_NOT_EXPR on ANNOTATE_EXPR argument (if any) rather than + ANNOTATE_EXPR itself. + +2024-04-12 Patrick Palka + + PR c++/114393 + * pt.cc (tsubst_lambda_expr): Also defer all dependent + substitution. + +2024-04-12 Jakub Jelinek + + PR c++/114426 + * constexpr.cc (is_valid_constexpr_fn): Return false/diagnose with + complain destructors in classes with virtual bases. + +2024-04-12 Patrick Palka + + PR c++/114393 + PR c++/107457 + PR c++/93595 + * cp-tree.h (LAMBDA_EXPR_EXTRA_ARGS): Define. + (tree_lambda_expr::extra_args): New field. + * module.cc (trees_out::core_vals) : Stream + LAMBDA_EXPR_EXTRA_ARGS. + (trees_in::core_vals) : Likewise. + * pt.cc (has_extra_args_mechanism_p): Return true for LAMBDA_EXPR. + (tree_extra_args): Handle LAMBDA_EXPR. + (tsubst_lambda_expr): Use LAMBDA_EXPR_EXTRA_ARGS to defer templated + substitution into a lambda-expr if we lost the template context. + Add sanity check for error_mark_node result from begin_lambda_type. + 2024-04-11 Patrick Palka PR c++/114303 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65897f77ab4..3561cfe9eac 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,107 @@ +2024-04-12 Andrew Carlotti + + * gcc.target/aarch64/cpunative/info_24: Include lrcpc and ilrcpc. + +2024-04-12 Marek Polacek + + PR c++/109966 + * g++.dg/cpp1y/nsdmi-aggr20.C: New test. + * g++.dg/cpp1y/nsdmi-aggr21.C: New test. + +2024-04-12 Will Schmidt + Peter Bergner + + PR target/101865 + * gcc.target/powerpc/predefine-p7-novsx.c: New test. + * gcc.target/powerpc/predefine-p8-noaltivec-novsx.c: New test. + * gcc.target/powerpc/predefine-p8-noaltivec.c: New test. + * gcc.target/powerpc/predefine-p8-novsx.c: New test. + * gcc.target/powerpc/predefine-p8-pragma-vsx.c: New test. + * gcc.target/powerpc/predefine-p9-novsx.c: New test. + +2024-04-12 Patrick Palka + + PR c++/99426 + * g++.dg/modules/merge-17.h: New test. + * g++.dg/modules/merge-17_a.H: New test. + * g++.dg/modules/merge-17_b.C: New test. + * g++.dg/modules/xtreme-header-7_a.H: New test. + * g++.dg/modules/xtreme-header-7_b.C: New test. + +2024-04-12 Jason Merrill + Patrick Palka + + PR c++/113141 + * g++.dg/conversion/ref12.C: New test. + +2024-04-12 Jason Merrill + Patrick Palka + + DR 1996 + PR c++/113141 + * g++.dg/cpp0x/initlist-ref1.C: New test. + * g++.dg/cpp0x/initlist-ref2.C: New test. + * g++.dg/cpp0x/initlist-ref3.C: New test. + +2024-04-12 Jakub Jelinek + + PR c++/114691 + * g++.dg/ext/pr114691.C: New test. + +2024-04-12 Patrick Palka + + PR c++/114393 + * g++.dg/cpp2a/lambda-targ2a.C: New test. + +2024-04-12 Jakub Jelinek + + PR c++/114426 + * g++.dg/cpp2a/pr114426.C: New test. + * g++.dg/cpp2a/constexpr-dtor16.C: New test. + +2024-04-12 Andrew Pinski + + PR tree-optimization/114666 + * gcc.c-torture/execute/bitfld-signed1-1.c: New test. + +2024-04-12 Richard Sandiford + + * gcc.target/aarch64/sme/acle-asm/zero_mask_za.c (zero_mask_za_ab) + (zero_mask_za_d7, zero_mask_za_bf): Expect a list of .d tiles instead + of a mixture. + +2024-04-12 Stefan Schulze Frielinghaus + + * gcc.dg/tree-ssa/range-sincos.c: Xfail for s390. + * gcc.dg/tree-ssa/vrp-float-abs-1.c: Dito. + +2024-04-12 Patrick Palka + + PR c++/114393 + PR c++/107457 + PR c++/93595 + * g++.dg/cpp2a/lambda-targ2.C: New test. + * g++.dg/cpp2a/lambda-targ3.C: New test. + * g++.dg/cpp2a/lambda-targ4.C: New test. + +2024-04-12 Jakub Jelinek + + PR sanitizer/114687 + * gcc.dg/asan/pr114687.c: New test. + +2024-04-12 Stefan Schulze Frielinghaus + + * gcc.dg/tree-ssa/loop-interchange-16.c: Prevent loop unrolling + of the innermost loop. + +2024-04-12 Pan Li + + PR target/114639 + * gcc.target/riscv/pr114639-1.c: New test. + * gcc.target/riscv/pr114639-2.c: New test. + * gcc.target/riscv/pr114639-3.c: New test. + * gcc.target/riscv/pr114639-4.c: New test. + 2024-04-11 David Faust * gcc.dg/debug/btf/btf-bitfields-4.c: Add two new checks. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2ca69f1617b..cdd9326d6af 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2024-04-12 Ian McInerney + + * runtime/error.c (gf_vsnprintf): Fix compilation + 2024-04-08 Tobias Burnus PR libfortran/114304