diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 890575810661..7f5732ed788d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,395 @@ +2024-11-01 Jakub Jelinek + + PR bootstrap/117407 + * builtins.cc (expand_builtin_prefetch): Use !IN_RANGE rather + than IN_RANGE. + +2024-11-01 Andrew MacLeod + + * range-op.cc (operator_bitwise_or::op1_range): If LHS is signed + positive, so are both operands. + +2024-11-01 Andrew MacLeod + + PR tree-optimization/117287 + * Makefile.in (IBJS): Add tree-assume.o + * gimple-range.cc (assume_query::assume_range_p): Remove. + (assume_query::range_of_expr): Remove. + (assume_query::assume_query): Move to tree-assume.cc. + (assume_query::~assume_query): Remove. + (assume_query::calculate_op): Move to tree-assume.cc. + (assume_query::calculate_phi): Likewise. + (assume_query::check_taken_edge): Remove. + (assume_query::calculate_stmt): Move to tree-assume.cc. + (assume_query::dump): Remove. + * gimple-range.h (class assume_query): Move to tree-assume.cc + * tree-assume.cc: New + * tree-vrp.cc (struct pass_data_assumptions): Move to tree-assume.cc. + (class pass_assumptions): Likewise. + (make_pass_assumptions): Likewise. + +2024-11-01 Andrew MacLeod + + * gimple-range-fold.cc (class fur_edge): Relocate from here. + (fur_edge::fur_edge): Also move to: + * gimple-range-fold.h (class fur_edge): Relocate to here. + (fur_edge::fur_edge): Likewise. + +2024-11-01 Jakub Jelinek + + * doc/standards.texi (C++ Language): Mention also the 2024 + revision and -std=gnu++23 option. + * doc/invoke.texi (-std=): Adjust description of c++23, c++2b, + gnu++23 and gnu++2b now that ISO C++ 14882:2024 is published. + +2024-11-01 Haochen Jiang + + * builtins.cc (expand_builtin_prefetch): Use IN_RANGE to + avoid second usage of INTVAL. + +2024-11-01 Haochen Jiang + + * config/i386/cmpccxaddintrin.h (_cmpccxadd_epi32): Do not do + type conversion for pointer. + (_cmpccxadd_epi64): Ditto. + +2024-11-01 Xi Ruoyao + + PR target/116887 + * varasm.cc (default_section_type_flags): Always set + SECTION_RELRO if name is .data.rel.ro{,.local}. + +2024-11-01 David Malcolm + + PR bootstrap/117361 + * Makefile.in (GCC_FOR_SELFTESTS): New. + +2024-11-01 Hu, Lin1 + + * common/config/i386/cpuinfo.h (get_available_features): + Detect AMX-MOVRS. + * common/config/i386/i386-common.cc + (OPTION_MASK_ISA2_AMX_MOVRS_SET): New. + (OPTION_MASK_ISA2_AMX_MOVRS_UNSET): Ditto. + (ix86_handle_option): Handle -mamx-movrs. + * common/config/i386/i386-cpuinfo.h (enum processor_features): + Add FEATURE_AMX_MOVRS. + * common/config/i386/i386-isas.h: Add ISA_NAME_TABLE_ENTRY for + amx-movrs. + * config.gcc: Add amxmovrsintrin.h. + * config/i386/cpuid.h (bit_AMX_MOVRS): New. + * config/i386/i386-c.cc (ix86_target_macros_internal): + Define __AMX_MOVRS__. + * config/i386/i386-isa.def (AMX_MOVRS): Add DEF_PTA(AMX_MOVRS). + * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): + Handle amx-movrs. + * config/i386/i386.opt: Add option -mamx-movrs. + * config/i386/i386.opt.urls: Regenerated. + * config/i386/immintrin.h: Include amxmovrsintrin.h + * doc/extend.texi: Document amx-movrs. + * doc/invoke.texi: Document -mamx-movrs. + * doc/sourcebuild.texi: Document target amx-movrs. + * config/i386/amxmovrsintrin.h: New file. + +2024-11-01 Hu, Lin1 + Haochen Jiang + + * builtins.cc (expand_builtin_prefetch): Expand for + prefetchrst2. + * common/config/i386/cpuinfo.h (get_available_features): Detect movrs. + * common/config/i386/i386-common.cc + (OPTION_MASK_ISA2_MOVRS_SET): New. + (OPTION_MASK_ISA2_MOVRS_UNSET): Ditto. + (ix86_handle_option): Handle -mmovrs. + * common/config/i386/i386-cpuinfo.h + (enum processor_features): Add FEATURE_MOVRS. + * common/config/i386/i386-isas.h: Add ISA_NAME_TABLE_ENTRY for movrs. + * config.gcc: Add movrsintrin.h + * config/i386/cpuid.h (bit_MOVRS): New. + * config/i386/i386-builtin-types.def: + Add DEF_FUNCTION_TYPE (CHAR, PCCHAR), (SHORT, PCSHORT), (INT, PCINT), + (INT64, PCINT64). + * config/i386/i386-builtin.def (BDESC): Add new builtins. + * config/i386/i386-c.cc (ix86_target_macros_internal): Add + __MOVRS__. + * config/i386/i386-expand.cc (ix86_expand_special_args_builtin): Define + __MOVRS__. + * config/i386/i386-isa.def (MOVRS): Add DEF_PTA(MOVRS) + * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): + Handle movrs. + * config/i386/i386.md (movrs): New. + * config/i386/i386.opt: Add option -mmovrs. + * config/i386/i386.opt.urls: Regenerated. + * config/i386/immintrin.h: Include movrsintrin.h + * config/i386/sse.md (unspecv): Add UNSPEC_VMOVRS. + (VI1248_AVX10_2): New. + (avx10_2_movrs_vmovrs): New define_insn. + * config/i386/xmmintrin.h: Add prefetchrst2. + * doc/extend.texi: Document movrs. + * doc/invoke.texi: Document -mmovrs. + * doc/rtl.texi: Document extension of prefetchrst2. + * doc/sourcebuild.texi: Document target movrs. + * config/i386/movrsintrin.h: New. + +2024-11-01 Liwei Xu + Hu, Lin1 + + * common/config/i386/cpuinfo.h + (get_available_features): Detect amx-fp8. + * common/config/i386/i386-common.cc + (OPTION_MASK_ISA2_AMX_FP8_SET): New macros. + (OPTION_MASK_ISA2_AMX_FP8_UNSET): Ditto. + (ix86_handle_option): Handle -mamx-fp8. + * common/config/i386/i386-cpuinfo.h (enum processor_features): + Add FEATURE_AMX_FP8. + * common/config/i386/i386-isas.h: Add ISA_NAME_TABLE_ENTRY for amx-fp8. + * config.gcc: Add amxfp8intrin.h. + * config/i386/cpuid.h (bit_AMX_FP8): New. + * config/i386/i386-c.cc (ix86_target_macros_internal): + Define __AMX_FP8__. + * config/i386/i386-isa.def (AMX_FP8): Add DEF_PTA for AMX_FP8. + * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): + Add new ATTR. + * config/i386/i386.opt: Add -mamx-fp8. + * config/i386/i386.opt.urls: Regenerated. + * config/i386/immintrin.h: Include amxfp8intrin.h. + * doc/extend.texi: Document -mamx-fp8. + * doc/invoke.texi: Document -mamx-fp8. + * doc/sourcebuild.texi: Document -mamx-fp8. + * config/i386/amxfp8intrin.h: New file. + +2024-11-01 Haochen Jiang + + * common/config/i386/cpuinfo.h (get_available_features): + Detect AMX-TRANSPOSE. + * common/config/i386/i386-common.cc + (OPTION_MASK_ISA2_AMX_TRANSPOSE_SET, + OPTION_MASK_ISA2_AMX_TRANSPOSE_UNSET): New. + (ix86_handle_option): Handle -mamx-transpose. + * common/config/i386/i386-cpuinfo.h (enum processor_features): + Add FEATURE_AMX_TRANSPOSE. + * common/config/i386/i386-isas.h: Add ISA_NAME_TABLE_ENTRY for + amx-transpose. + * config.gcc: Add amxtransposeintrin.h. + * config/i386/cpuid.h (bit_AMX_TRANSPOSE): New. + * config/i386/i386-c.cc (ix86_target_macros_internal): Define + __AMX_TRANSPOSE__. + * config/i386/i386-isa.def (AMX_TRANSPOSE): Add + DEF_PTA(AMX_TRANSPOSE). + * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): + Handle amx-transpose. + * config/i386/i386.opt: Add option -mamx-transpose. + * config/i386/i386.opt.urls: Regenerated. + * config/i386/immintrin.h: Include amxtransposeintrin.h. + * doc/extend.texi: Document amx-transpose. + * doc/invoke.texi: Document -mamx-transpose. + * doc/sourcebuild.texi: Document target amx-transpose. + * config/i386/amxtransposeintrin.h: New file. + +2024-11-01 Haochen Jiang + + * common/config/i386/cpuinfo.h (get_available_features): + Detect AMX-TF32. + * common/config/i386/i386-common.cc (OPTION_MASK_ISA2_AMX_TF32_SET, + OPTION_MASK_ISA2_AMX_TF32_UNSET): New. + (ix86_handle_option): Handle -mamx-tf32. + * common/config/i386/i386-cpuinfo.h (enum processor_features): + Add FEATURE_AMX_TF32. + * common/config/i386/i386-isas.h: Add ISA_NAME_TABLE_ENTRY for + amx-tf32. + * config.gcc: Add amxtf32intrin.h + * config/i386/cpuid.h (bit_AMX_TF32): New. + * config/i386/i386-c.cc (ix86_target_macros_internal): Handle amx-tf32. + * config/i386/i386-isa.def (AMX_TF32): Add DEF_PTA(AMX_TF32). + * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): + Handle amx-tf32. + * config/i386/i386.opt: Add option -mamx-tf32. + * config/i386/i386.opt.urls: Regenerated. + * config/i386/immintrin.h: Include amxtf32intrin.h. + * doc/extend.texi: Document amx-tf32. + * doc/invoke.texi: Document -mamx-tf32. + * doc/sourcebuild.texi: Document target amx-tf32. + * config/i386/amxtf32intrin.h: New file. + +2024-11-01 Haochen Jiang + Yu, Bing + + * common/config/i386/cpuinfo.h (get_available_features): + Detect AMX-AVX512. + * common/config/i386/i386-common.cc (OPTION_MASK_ISA2_AMX_AVX512_SET, + OPTION_MASK_ISA2_AMX_AVX512_UNSET): New. + (ix86_handle_option): Handle -mamx-avx512. + * common/config/i386/i386-cpuinfo.h (enum processor_features): + Add FEATURE_AMX_AVX512. + * common/config/i386/i386-isas.h: Add ISA_NAME_TABLE_ENTRY for + amx-avx512. + * config.gcc: Add amxavx512intrin.h + * config/i386/cpuid.h (bit_AMX_AVX512): New. + * config/i386/i386-c.cc (ix86_target_macros_internal): + Handle amx-avx512. + * config/i386/i386-isa.def (AMX_AVX512): Add DEF_PTA(AMX_AVX512). + * config/i386/i386-options.cc (ix86_valid_target_attribute_inner_p): + Handle amx-avx512. + * config/i386/i386.opt: Add option -mamx-avx512. + * config/i386/i386.opt.urls: Regenerated. + * config/i386/immintrin.h: Include amxavx512intrin.h + * doc/extend.texi: Document amx-avx512. + * doc/invoke.texi: Document -mamx-avx512. + * doc/sourcebuild.texi: Document target amx-avx512. + * config/i386/amxavx512intrin.h: New file. + +2024-11-01 Haochen Jiang + + * config/i386/i386-builtin-types.def: + Add DEF_FUNCTION_TYPE (V16SI, V16SI, V16SI). + * config/i386/i386-builtin.def (BDESC): Add new builtins. + * config/i386/i386-expand.cc (ix86_expand_args_builtin): Handle + V16SI_FTYPE_V16SI_V16SI. + * config/i386/sm4intrin.h: Add zmm insns. + * config/i386/sse.md (vsm4key4_): Add EVEX pattern. + (vsm4rnds4_): Ditto. + +2024-10-31 Richard Sandiford + + * config/aarch64/aarch64-sve-builtins-base.cc (svmax, svamin): Move + definitions to... + * config/aarch64/aarch64-sve-builtins-sve2.cc: ...here. + * config/aarch64/aarch64-sve-builtins-base.def (svmax, svamin): Move + definitions to... + * config/aarch64/aarch64-sve-builtins-sve2.def: ...here. Require + SME2 in streaming mode. + +2024-10-31 Richard Sandiford + + * config.gcc (aarch64*-*-*): Add aarch64-protos.h to target_gtfiles. + * config/aarch64/aarch64-protos.h + (aarch64_required_extensions): New structure. + (aarch64_check_required_extensions): Change the type of the + required_extensions parameter from aarch64_feature_flags to + aarch64_required_extensions. + * config/aarch64/aarch64-sve-builtins.h + (function_builder::add_unique_function): Likewise. + (function_builder::add_overloaded_function): Likewise. + (function_builder::get_attributes): Likewise. + (function_builder::add_function): Likewise. + (function_group_info): Change the type of required_extensions + in the same way. + * config/aarch64/aarch64-builtins.cc + (aarch64_pragma_builtins_data::required_extensions): Change the type + from aarch64_feature_flags to aarch64_required_extensions. + (aarch64_check_required_extensions): Likewise change the type + of the required_extensions parameter. Separate the requirements + for non-streaming mode and streaming mode, ORing them together + for streaming-compatible mode. + (aarch64_general_required_extensions): New function. + (aarch64_general_check_builtin_call): Use it. + * config/aarch64/aarch64-sve-builtins.cc + (registered_function::required_extensions): Change the type + from aarch64_feature_flags to aarch64_required_extensions. + (DEF_NEON_SVE_FUNCTION, DEF_SME_ZA_FUNCTION_GS): Update accordingly. + (function_builder::get_attributes): Change the type of the + required_extensions parameter from aarch64_feature_flags to + aarch64_required_extensions. + (function_builder::add_function): Likewise. + (function_builder::add_unique_function): Likewise. + (function_builder::add_overloaded_function): Likewise. + * config/aarch64/aarch64-simd-pragma-builtins.def: Update + REQUIRED_EXTENSIONS definitions to use aarch64_required_extensions. + * config/aarch64/aarch64-sve-builtins-base.def: Likewise. + * config/aarch64/aarch64-sve-builtins-sme.def: Likewise. + * config/aarch64/aarch64-sve-builtins-sve2.def: Likewise. + +2024-10-31 Richard Sandiford + + * config/aarch64/aarch64-builtins.cc (ENTRY): Remove the features + argument and get the features from REQUIRED_EXTENSIONS instead. + (ENTRY_VHSDF): Move definition to... + * config/aarch64/aarch64-simd-pragma-builtins.def: ...here. + Move the architecture requirements to REQUIRED_EXTENSIONS. + +2024-10-31 Richard Sandiford + + * config/aarch64/aarch64-sve-builtins-base.def (svtrn1q, svtrn2q) + (svuzp1q, svuzp2q, svzip1q, svzip2q): Require SM_OFF. + +2024-10-31 Andi Kleen + + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: Check for HAVE_CLOCK_GETTIME. + * timevar.cc (get_time): Use HAVE_CLOCK_GETTIME. + +2024-10-31 Vineet Gupta + + * config/riscv/riscv-v.cc (expand_const_vector): Use IOR op. + +2024-10-31 David Malcolm + + * Makefile.in (OBJS): Add lazy-diagnostic-path.o. + * lazy-diagnostic-path.cc: New file. + * lazy-diagnostic-path.h: New file. + * selftest-diagnostic.cc: Include "diagnostic-format.h". + (test_diagnostic_context::test_diagnostic_context): Turn off + flushing for the output format's printer. + * selftest-run-tests.cc (selftest::run_tests): Call + selftest::lazy_diagnostic_path_cc_tests. + * selftest.h (selftest::lazy_diagnostic_path_cc_tests): New decl. + +2024-10-31 David Malcolm + + * opts-diagnostic.cc (output_factory::handler::handler): Use + std::move on name. + +2024-10-31 David Malcolm + + * diagnostic.cc (diagnostic_context::finish): Delete and reset + m_option_mgr. + +2024-10-31 Tamar Christina + + PR tree-optimization/117176 + * tree-vect-patterns.cc (vect_recog_gcond_pattern): Lower all gconds. + * tree-vect-slp.cc (vect_analyze_slp): No longer check for in vect def. + +2024-10-31 Yangyu Chen + + * config/riscv/riscv.cc (riscv_can_inline_p): Refuse to inline + when callee is versioned but caller is not. + +2024-10-31 Yangyu Chen + + * config/riscv/riscv-protos.h (riscv_process_target_attr): New. + * config/riscv/riscv-target-attr.cc (riscv_process_target_attr): + Split into two functions with const char *args argument + +2024-10-31 Jakub Jelinek + + PR middle-end/117354 + * expr.cc (expand_expr_real_1) : Pass + true as inner_reference_p argument to expand_expr_real if + mode is BLKmode. Don't call extract_bit_field if mode is BLKmode. + +2024-10-31 Yangyu Chen + + * config/riscv/predicates.md: Use flag_plt instead of TARGET_PLT. + * config/riscv/riscv.opt: alias common option fplt to mplt. + +2024-10-31 Jakub Jelinek + + * tree.cc (valid_new_delete_pair_p): Fix up duplicate "or or" + in comment. + +2024-10-31 Andrew Pinski + + PR middle-end/114785 + PR middle-end/116949 + * gimple-match-exports.cc (maybe_push_res_to_seq): Remove special + handling of COMPARISON_CLASS_P in COND_EXPR/VEC_COND_EXPR. + (gimple_extract): Likewise. + * gimple-walk.cc (walk_stmt_load_store_addr_ops): Likewise. + * gimple.cc (gimple_build_assign_1): Add assert for COND_EXPR + so its 1st operand is not a comparison. + 2024-10-30 Kugan Vivekanandarajah * tree-vectorizer.cc (pass_vectorize::execute): Reset dont_vectorize diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index bf9a843b29c7..0ffe82a8a482 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241031 +20241102 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 2976622b50e2..b680af9ab7f3 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,10 @@ +2024-11-01 David Malcolm + + PR analyzer/117373 + * infinite-loop.cc + (infinite_loop_diagnostic::describe_final_event): Fix + -Wunused-parameter warning + 2024-10-29 David Malcolm PR other/116613 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 0166c5937a0e..6a5053a36171 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,16 @@ +2024-11-01 Jakub Jelinek + + * c.opt (std=c++2b, std=c++23, std=gnu++2b, std=gnu++23): Adjust + description now that ISO C++ 14882:2024 is published. + +2024-10-31 Martin Uecker + + PR c/117145 + PR c/117245 + PR c/100420 + * c-pretty-print.cc (c_pretty_printer::direct_abstract_declarator): + Detect arrays of unspecified size. + 2024-10-30 Joseph Myers * c.opt (std=c23, std=gnu23, std=iso9899:2024): Do not mark as diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index a9d1b261a50a..51c520ac634e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,56 @@ +2024-11-01 David Malcolm + + PR bootstrap/117361 + * Make-lang.in (s-selftest-c): Use GCC_FOR_SELFTESTS. + (selftest-c-gdb): Likewise. + (selftest-c-valgrind): Likewise. + +2024-10-31 Martin Uecker + + PR c/117145 + PR c/117245 + PR c/100420 + * c-decl.cc (c_build_pointer_type): Move to c-typeck.cc + (grokdeclarator): Simplify logic. + (match_builtin_function_types): Adapt. + (push_decl): Adapt. + (implicitly_declare): Adapt. + (c_update_type_canonical): Adapt. + (c_make_fname_decl): Adapt. + (start_function): Adapt. + * c-objc-common.h: Add LANG_HOOKS_RECONSTRUCT_COMPLEX_TYPE. + * c-tree.h: Add prototypes. + * c-typeck.cc (c_verify_type): New function. + (c_set_type_bits). New function. + (c_build_pointer_type): Moved from c-decl.cc. + (c_build_pointer_type_for_mode): New function. + (c_build_function_type): New function. + (c_build_array_type): New function. + (c_build_type_attribute_variant): New function. + (c_reconstruct_complex_type): New function. + (c_build_functype_attribute_variant): Renamed. + (array_to_pointer_conversion): Simplify logic. + (composite_type_internal): Simplify logic.. + (build_unary_op): Simplify logic.. + (comptypes_verify): Add checking assertions. + (c_build_qualified_type): Add checking assertions. + (c_build_function_call_vec): Adapt. + (qualify_type): Adapt. + (build_functype_attribute_variant): Adapt. + (common_pointer_type): Adapt. + (c_common_type): Adapt. + (convert_for_assignment): Adapt. + (type_or_builtin_type): Adapt. + (build_access_with_size_for_counted_by): Adapt. + (build_conditional_expr): Adapt. + (build_modify_expr): Adapt. + (build_binary_op): Adapt. + (build_omp_array_section): Adapt. + (handle_omp_array_sections): Adapt. + (c_finish_omp_clauses): Adapt. + * c-parser.cc (c_parser_typeof_specifier): Adapt. + (c_parser_generic_selection): Adapt. + 2024-10-30 Jakub Jelinek * c-parser.cc (c_parser_postfix_expression): Diagnose if diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 40ff0f706856..1001a5b8530d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,26 @@ +2024-11-01 David Malcolm + + PR bootstrap/117361 + * Make-lang.in (s-selftest-c++): Use GCC_FOR_SELFTESTS. + (selftest-c++-gdb): Likewise. + (selftest-c++-valgrind): Likewise. + +2024-11-01 Jakub Jelinek + + * pt.cc (tsubst_attribute): For "omp declare variant base" attribute + if varid is error_mark_node, set val to error_mark_node rather than + creating a TREE_LIST with error_mark_node TREE_PURPOSE. + +2024-10-31 Tobias Burnus + + * decl.cc (omp_declare_variant_finalize_one): Use STRIP_REFERENCE_REF + instead of doing it manually. + +2024-10-31 Tobias Burnus + + * decl.cc (omp_declare_variant_finalize_one): Strip indirect ref + around variant-function call when processing a variant. + 2024-10-30 Iain Sandoe PR c++/116607 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 2d353e992058..df487f9bd14a 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,25 @@ +2024-11-01 Thomas Koenig + + * resolve.cc (resolve_operator): Also handle BT_UNSIGNED. + +2024-11-01 Paul Thomas + + PR fortran/115700 + * resolve.cc (resolve_assoc_var): Extract a substring reference + with missing as well as non-constant start or end. + +2024-10-31 Paul Thomas + + PR fortran/115700 + * resolve.cc (resolve_variable): The typespec of an expression, + which is not a substring, can be shared with a deferred length + associate name. + (resolve_assoc_var): Extract a substring reference with non- + constant start or end. Use it to flag up the need for array + associate name to be a pointer. + (resolve_block_construct): Change comment from past to future + tense. + 2024-10-30 Harald Anlauf * trans-expr.cc (gfc_trans_class_init_assign): Free intermediate diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index 7389ff6f06ca..e8fbaf1e0205 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,10 @@ +2024-11-01 David Malcolm + + PR bootstrap/117361 + * Make-lang.in (s-selftest-rust): Use GCC_FOR_SELFTESTS. + (selftest-rust-gdb): Likewise. + (selftest-rust-valgrind): Likewise. + 2024-10-25 Jakub Jelinek * util/optional.h: Remove trailing whitespace. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9099141580f6..5c63f6f0350e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,438 @@ +2024-11-01 Andrew MacLeod + + * g++.dg/cpp23/attr-assume-opt.C (f2b): Alternate flow test. + +2024-11-01 Andrew MacLeod + + PR tree-optimization/117287 + * g++.dg/cpp23/pr117287-attr.C: New. + +2024-11-01 Jakub Jelinek + + PR c++/114461 + * g++.dg/modules/cpp-7.C: New test. + * g++.dg/modules/cpp-8.C: New test. + * g++.dg/modules/cpp-9.C: New test. + * g++.dg/modules/cpp-10.C: New test. + * g++.dg/modules/cpp-11.C: New test. + * g++.dg/modules/cpp-12.C: New test. + * g++.dg/modules/cpp-13.C: New test. + * g++.dg/modules/cpp-14.C: New test. + * g++.dg/modules/cpp-15.C: New test. + * g++.dg/modules/cpp-16.C: New test. + * g++.dg/modules/cpp-17.C: New test. + * g++.dg/modules/cpp-18.C: New test. + * g++.dg/modules/cpp-19.C: New test. + * g++.dg/modules/cpp-20.C: New test. + * g++.dg/modules/pmp-4.C: New test. + * g++.dg/modules/pmp-5.C: New test. + * g++.dg/modules/pmp-6.C: New test. + * g++.dg/modules/token-6.C: New test. + * g++.dg/modules/token-7.C: New test. + * g++.dg/modules/token-8.C: New test. + * g++.dg/modules/token-9.C: New test. + * g++.dg/modules/token-10.C: New test. + * g++.dg/modules/token-11.C: New test. + * g++.dg/modules/token-12.C: New test. + * g++.dg/modules/token-13.C: New test. + * g++.dg/modules/token-14.C: New test. + * g++.dg/modules/token-15.C: New test. + * g++.dg/modules/token-16.C: New test. + * g++.dg/modules/dir-only-3.C: Expect an error. + * g++.dg/modules/dir-only-4.C: Expect an error. + * g++.dg/modules/dir-only-5.C: New test. + * g++.dg/modules/atom-preamble-2_a.C: In export module malcolm; + replace malcolm with kevin. Don't define malcolm macro. + * g++.dg/modules/atom-preamble-4.C: Expect an error. + * g++.dg/modules/atom-preamble-5.C: New test. + +2024-11-01 Haochen Jiang + + * gcc.target/i386/cmpccxadd-1b.c: New test. + +2024-11-01 Xi Ruoyao + + * gcc.c-torture/execute/builtin-prefetch-1.c (rws): Use + "read_shared" instead of "read-shared" as the identifier for + enum value. + * gcc.dg/builtin-prefetch-1.c (rws): Likewise. + +2024-11-01 Xi Ruoyao + + * gcc.target/loongarch/jump-table-annotate.c + (dg-additional-options): Add -O. + +2024-11-01 Simon Martin + + PR c++/101887 + * g++.dg/init/delete5.C: Add testcase from PR c++/101887. + +2024-11-01 Xi Ruoyao + + PR target/116887 + * gcc.dg/pr116887.c: New test. + +2024-11-01 Thomas Koenig + + * gfortran.dg/unsigned_38.f90: Add -pedantic and adjust error + message. + * gfortran.dg/unsigned_40.f90: New test. + +2024-11-01 Jakub Jelinek + + * g++.dg/gomp/declare-variant-10.C: New test. + +2024-11-01 Paul Thomas + + PR fortran/115700 + * gfortran.dg/associate_69.f90: Activate commented out tests. + * gfortran.dg/associate_70.f90: Test correct functioning of + references in associate_69.f90 tests. + +2024-11-01 Hu, Lin1 + + * g++.dg/other/i386-2.C: Add -mamx-movrs. + * g++.dg/other/i386-3.C: Ditto. + * gcc.target/i386/amx-check.h: Add new check for amx-movrs. + * gcc.target/i386/funcspec-56.inc: Add new target attribute. + * gcc.target/i386/sse-12.c: Add -mamx-movrs. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Add amx-movrs. + * gcc.target/i386/sse-23.c: Ditto. + * lib/target-supports.exp (check_effective_target_amx_movrs): New. + * gcc.target/i386/amxmovrs-asmatt-1.c: New test. + * gcc.target/i386/amxmovrs-asmintel-1.c: Ditto. + * gcc.target/i386/amxmovrs-t2rpntlvw-2.c: Ditto. + * gcc.target/i386/amxmovrs-tileloaddrs-2.c: Ditto. + +2024-11-01 Hu, Lin1 + Haochen Jiang + + * g++.dg/other/i386-2.C: Add -mmovrs. + * g++.dg/other/i386-3.C: Ditto. + * gcc.c-torture/execute/builtin-prefetch-1.c: Expand rws. + * gcc.dg/builtin-prefetch-1.c: Ditto. + * gcc.target/i386/avx-1.c: Ditto. + * gcc.target/i386/avx-2.c: Ditto. + * gcc.target/i386/funcspec-56.inc: Add new target attribute. + * gcc.target/i386/sse-12.c: Add -mmovrs. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Add movrs. + * gcc.target/i386/sse-23.c: Ditto + * gcc.target/i386/avx10_2-512-movrs-1.c: New test. + * gcc.target/i386/avx10_2-movrs-1.c: Ditto. + * gcc.target/i386/movrs-1.c: Ditto. + +2024-11-01 Liwei Xu + Hu, Lin1 + + * g++.dg/other/i386-2.C: Add -mamx-fp8. + * g++.dg/other/i386-3.C: Ditto. + * gcc.target/i386/amx-check.h: Check for amx-fp8. + * gcc.target/i386/amx-helper.h: Ditto. + * gcc.target/i386/fp8-helper.h: Ditto. + * gcc.target/i386/funcspec-56.inc: Add new target attribute. + * gcc.target/i386/sse-12.c: Add -mamx-fp8. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Ditto. + * gcc.target/i386/sse-23.c: Ditto. + * lib/target-supports.exp: New proc. + * gcc.target/i386/amxfp8-asmatt-1.c: New test. + * gcc.target/i386/amxfp8-asmintel-1.c: Ditto. + * gcc.target/i386/amxfp8-dpbf8ps-2.c: Ditto. + * gcc.target/i386/amxfp8-dpbhf8ps-2.c: Ditto. + * gcc.target/i386/amxfp8-dphbf8ps-2.c: Ditto. + * gcc.target/i386/amxfp8-dphf8ps-2.c: Ditto. + * gcc.target/i386/fp-emulation.h: Emulates NaN behaviour. + +2024-11-01 Haochen Jiang + + * g++.dg/other/i386-2.C: Add -mamx-transpose. + * g++.dg/other/i386-3.C: Ditto. + * gcc.target/i386/amx-check.h: Add new check for amx-transpose. + (__tilepair): New. + (zero_pair_tile_src): New. + (check_pair_tile_register): New. + * gcc.target/i386/funcspec-56.inc: Add new target attribute. + * gcc.target/i386/amx-helper.h: Add amx-transpose support. + (init_pair_tile_src): New function. + * gcc.target/i386/sse-12.c: Add -mamx-tranpose. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Add amx-transpose. + * gcc.target/i386/sse-23.c: Ditto. + * lib/target-supports.exp (check_effective_target_amx_transposed): New. + * gcc.target/i386/amxtranspose-asmatt-1.c: New test. + * gcc.target/i386/amxtranspose-asmintel-1.c: Ditto. + * gcc.target/i386/amxtranspose-2rpntlvw-2.c: Ditto. + * gcc.target/i386/amxtranspose-conjtcmmimfp16ps-2.c: Ditto. + * gcc.target/i386/amxtranspose-conjtfp16-2.c: Ditto. + * gcc.target/i386/amxtranspose-tcmmimfp16ps-2.c: Ditto. + * gcc.target/i386/amxtranspose-tcmmrlfp16ps-2.c: Ditto. + * gcc.target/i386/amxtranspose-tdpbf16ps-2.c: Ditto. + * gcc.target/i386/amxtranspose-tdpfp16ps-2.c: Ditto. + * gcc.target/i386/amxtranspose-tmmultf32ps-2.c: Ditto. + * gcc.target/i386/amxtranspose-transposed-2.c: Ditto. + +2024-11-01 Haochen Jiang + + * g++.dg/other/i386-2.C: Add -mamx-tf32. + * g++.dg/other/i386-3.C: Ditto. + * gcc.target/i386/amx-check.h: Add cpu check for AMX-TF32. + * gcc.target/i386/funcspec-56.inc: Add new target attribute. + * gcc.target/i386/sse-12.c: Add -mamx-tf32. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Add amx-tf32. + * gcc.target/i386/sse-23.c: Ditto. + * lib/target-supports.exp (check_effective_target_amx_tf32): New. + * gcc.target/i386/amx-helper.h: New file for tf32 support. + * gcc.target/i386/amxtf32-asmatt-1.c: New test. + * gcc.target/i386/amxtf32-asmintel-1.c: Ditto. + * gcc.target/i386/amxtf32-mmultf32ps-2.c: Ditto. + +2024-11-01 Haochen Jiang + Yu, Bing + + * g++.dg/other/i386-2.C: Add -mamx-avx512. + * g++.dg/other/i386-3.C: Ditto. + * gcc.target/i386/amx-check.h: Add cpu check for AMX-AVX512. + * gcc.target/i386/amx-helper.h: Support amx-avx512. + * gcc.target/i386/funcspec-56.inc: Add new target attribute. + * gcc.target/i386/sse-12.c: Add -mamx-avx512. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Add amx-avx512. + * gcc.target/i386/sse-23.c: Ditto. + * lib/target-supports.exp (check_effective_target_amx_avx512): New. + * gcc.target/i386/amxavx512-asmatt-1.c: New test. + * gcc.target/i386/amxavx512-asmintel-1.c: Ditto. + * gcc.target/i386/amxavx512-cvtrowd2ps-2.c: Ditto. + * gcc.target/i386/amxavx512-cvtrowps2pbf16-2.c: Ditto. + * gcc.target/i386/amxavx512-cvtrowps2ph-2.c: Ditto. + * gcc.target/i386/amxavx512-movrow-2.c: Ditto. + +2024-11-01 Haochen Jiang + + * gcc.target/i386/sm4-check.h: Add zmm test. + * gcc.target/i386/sm4-avx10_2-1.c: New test. + * gcc.target/i386/sm4-avx10_2-512-1.c: Ditto. + * gcc.target/i386/sm4key4-avx10_2-512-2.c: Ditto. + * gcc.target/i386/sm4rnds4-avx10_2-512-2.c: Ditto. + +2024-11-01 Sam James + + PR debug/15736 + PR debug/46240 + * g++.dg/debug/pr15736.cc: Move to... + * g++.dg/debug/pr15736.C: ...here. + * g++.dg/debug/pr46240.cc: Move to... + * g++.dg/debug/pr46240.C: ...here. + +2024-11-01 Sam James + + PR tree-optimization/111520 + * g++.dg/torture/harden-comp-pr111520.cc: Move to... + * g++.dg/torture/harden-comp-pr111520.C: ...here. + +2024-11-01 Sam James + + PR c++/90313 + * g++.dg/torture/pr90313.cc: Move to... + * g++.dg/torture/pr90313.C: ...here. + +2024-11-01 Sam James + + PR target/66655 + * g++.dg/pr66655.C: Adjust filename in dg-additional-sources. + +2024-10-31 Sam James + + PR target/66655 + * g++.dg/pr66655_1.cc: Move to... + * g++.dg/pr66655_1.C: ...here. + +2024-10-31 Sam James + + PR other/42965 + * g++.dg/warn/unused-result1-Werror.c: Move to... + * g++.dg/warn/unused-result1-Werror.C: ...here. + +2024-10-31 Sam James + + PR tree-optimization/105820 + * g++.dg/tree-ssa/pr105820.c: Move to... + * g++.dg/tree-ssa/pr105820.C: ...here. + +2024-10-31 Sam James + + PR target/47333 + * g++.dg/lto/pr47333_0.C: Move to... + * g++.dg/torture/pr47333.C: ...here. + +2024-10-31 Sam James + + PR c++/95677 + * g++.dg/lto/pr95677_0.C: Move to... + * g++.dg/torture/pr95677.C: ...here. + +2024-10-31 Richard Sandiford + + * gcc.target/aarch64/sve/acle/general/amin_1.c: New test. + * gcc.target/aarch64/sve2/acle/asm/amax_f16.c: Enabled sve2 and + (for streaming mode) sme2. + * gcc.target/aarch64/sve2/acle/asm/amax_f32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/amax_f64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/amin_f16.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/amin_f32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/amin_f64.c: Likewise. + +2024-10-31 Richard Sandiford + + * g++.target/aarch64/sve/aarch64-ssve.exp: Add tests for trn[12]q, + uzp[12].c, and zip[12]q. + * gcc.target/aarch64/sve/acle/asm/trn1q_bf16.c: Skip for + STREAMING_COMPATIBLE. + * gcc.target/aarch64/sve/acle/asm/trn1q_f16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_f32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_f64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_s16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_s32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_s64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_s8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_u16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_u32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_u64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn1q_u8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_bf16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_f16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_f32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_f64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_s16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_s32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_s64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_s8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_u16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_u32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_u64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/trn2q_u8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_bf16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_f16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_f32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_f64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_s16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_s32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_s64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_s8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_u16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_u32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_u64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp1q_u8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_bf16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_f16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_f32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_f64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_s16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_s32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_s64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_s8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_u16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_u32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_u64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/uzp2q_u8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_bf16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_f16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_f32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_f64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_s16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_s32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_s64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_s8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_u16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_u32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_u64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip1q_u8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_bf16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_f16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_f32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_f64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_s16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_s32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_s64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_s8.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_u16.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_u32.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_u64.c: Likewise. + * gcc.target/aarch64/sve/acle/asm/zip2q_u8.c: Likewise. + +2024-10-31 Sam James + + PR testsuite/117183 + * gcc.dg/c23-constexpr-2a.c: Use dg-do run. + +2024-10-31 Martin Uecker + + PR c/117145 + PR c/117245 + PR c/100420 + * gcc.dg/c23-tag-composite-11.c: New test. + * gcc.dg/Warray-parameter-4.c: Resolve xfails. + * gcc.dg/Wvla-parameter-2.c: Resolve xfails. + * gcc.dg/Wvla-parameter-3.c: Resolve xfails. + * gcc.dg/pr117145-1.c: New test. + * gcc.dg/pr117145-2.c: New test. + * gcc.dg/pr117245.c: New test. + +2024-10-31 Joseph Myers + + * gcc.dg/pr114115.c (foo_ifunc2): Return void. + +2024-10-31 Joseph Myers + + * gcc.dg/simulate-thread/simulate-thread.h + (simulate_thread_wrapper_final_verify): Mark noinline. + +2024-10-31 Vineet Gupta + + * gcc.target/riscv/rvv/autovec/slp-interleave-5.c: New test. + +2024-10-31 Craig Blackmore + + * gcc.target/riscv/rvv/base/cpymem-1.c: Fix and rework f3. + +2024-10-31 Sam James + + PR middle-end/90348 + PR tree-optimization/106073 + * gcc.dg/pr106073.c: New test. + +2024-10-31 Tamar Christina + + PR tree-optimization/117176 + * gcc.dg/vect/vect-early-break_130-pr117176.c: New test. + +2024-10-31 Tobias Burnus + + * g++.dg/gomp/declare-variant-9.C: New test. + +2024-10-31 Jakub Jelinek + + PR middle-end/117354 + * gcc.dg/bitint-113.c: New test. + +2024-10-31 Paul Thomas + + PR fortran/115700 + * gfortran.dg/associate_70.f90: New test. + +2024-10-31 Sam James + + PR middle-end/92936 + * gcc.dg/Wstringop-overflow-59.c: Fix dg-* syntax. + 2024-10-30 Kugan Vivekanandarajah * gcc.dg/vect/bb-slp-77.c: New test. diff --git a/include/ChangeLog b/include/ChangeLog index 39d469986747..a671f83568c6 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2024-10-31 Mark Wielaard + + * safe-ctype.h: Change accidently to accidentally. + 2024-10-25 Jakub Jelinek * dyn-string.h: Remove trailing whitespace. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 9e54d1aed28c..e054ef58093b 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,27 @@ +2024-11-01 Jakub Jelinek + + PR c++/114461 + * include/cpplib.h: Implement C++26 P3034R1 + - Module Declarations Shouldn’t be Macros (or more precisely + its expected intent). + (NO_DOT_COLON): Define. + * internal.h (struct cpp_reader): Add diagnose_dot_colon_from_macro_p + member. + * lex.cc (cpp_maybe_module_directive): For pp-module, if + module keyword is followed by CPP_NAME, ensure all CPP_NAME + tokens possibly matching module name and module partition + syntax aren't expanded and aren't defined as object-like macros. + Verify first token after that doesn't start with open paren. + If the next token after module name/partition is CPP_NAME defined + as macro, set NO_DOT_COLON flag on it. + * macro.cc (cpp_get_token_1): Set + pfile->diagnose_dot_colon_from_macro_p if token to be expanded has + NO_DOT_COLON bit set in flags. Before returning, if + pfile->diagnose_dot_colon_from_macro_p is true and not returning + CPP_PADDING or CPP_COMMENT and not during macro expansion preparation, + set pfile->diagnose_dot_colon_from_macro_p to false and diagnose + if returning CPP_DOT or CPP_COLON. + 2024-10-25 Jakub Jelinek * directives.cc: Remove trailing whitespace. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 344f675f9b12..380b8b67b6cd 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2024-10-31 Mark Wielaard + + * cplus-dem.c: Change preceeded to preceded. + 2024-10-10 Simon Martin * cp-demangle.c (d_dump): Fix compilation when CP_DEMANGLE_DEBUG diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a1651b83b919..1583f8f2bc2f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,62 @@ +2024-11-01 Jonathan Wakely + + * include/bits/unordered_map.h: Check __glibcxx_node_extract and + __glibcxx_unordered_map_try_emplace instead of __cplusplus. + * include/bits/unordered_set.h: Check __glibcxx_node_extract + instead of __cplusplus. + +2024-11-01 Jonathan Wakely + + * include/bits/hashtable.h: Improve comments. + +2024-11-01 Jonathan Wakely + + PR libstdc++/111055 + * include/bits/forward_list.h + (forward_list(from_range, R&&, const Alloc&), assign_range) + (prepend_range, insert_range_after): Define. + * include/bits/stl_list.h (list(from_range, R&&, const Alloc&)) + (assign_range, prepend_range, append_range, insert_range): + Define. + * include/debug/forward_list + (forward_list(from_range, R&&, const Alloc&), assign_range) + (prepend_range, insert_range_after): Define. + * include/debug/list (list(from_range, R&&, const Alloc&)) + (assign_range, prepend_range, append_range, insert_range): + Define. + * testsuite/23_containers/forward_list/cons/from_range.cc: New + test. + * testsuite/23_containers/forward_list/modifiers/assign_range.cc: + New test. + * testsuite/23_containers/forward_list/modifiers/insert_range_after.cc: + New test. + * testsuite/23_containers/forward_list/modifiers/prepend_range.cc: + New test. + * testsuite/23_containers/list/cons/from_range.cc: New test. + * testsuite/23_containers/list/modifiers/append_range.cc: New + test. + * testsuite/23_containers/list/modifiers/assign/assign_range.cc: + New test. + * testsuite/23_containers/list/modifiers/insert/insert_range.cc: + New test. + * testsuite/23_containers/list/modifiers/prepend_range.cc: New + test. + +2024-11-01 Jonathan Wakely + + * testsuite/23_containers/unordered_set/pr115285.cc: Include + missing header for std::vector. + +2024-11-01 Jonathan Wakely + + * libsupc++/typeinfo: Remove whitespace in #endif + +2024-10-31 Jonathan Wakely + + * libsupc++/new (operator new): Add attribute align_alloc(2) to + overloads taking a std::align_val_t argument. + * testsuite/18_support/new_aligned_warn.cc: New test. + 2024-10-30 Jonathan Wakely * testsuite/23_containers/vector/cons/from_range.cc: Fix copy &