From fa546b6641e34d55f8a498bd863fd9e6d06e991e Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Thu, 24 Oct 2024 00:20:23 +0000 Subject: [PATCH] Daily bump. --- ChangeLog | 4 + gcc/ChangeLog | 278 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 10 ++ gcc/fortran/ChangeLog | 100 +++++++++++++++ gcc/testsuite/ChangeLog | 89 +++++++++++++ libcpp/ChangeLog | 14 ++ libstdc++-v3/ChangeLog | 33 +++++ 8 files changed, 529 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 110e24fb7ba..c80b73ad60f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-10-23 Jonathan Wakely + + * .forgejo/PULL_REQUEST_TEMPLATE.md: New file. + 2024-10-18 Alex Coplan * MAINTAINERS (CPU Port Maintainers): Add myself as aarch64 ldp/stp diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bdea613a5b..2314c3a3d06 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,281 @@ +2024-10-23 Andrew Pinski + + * config/aarch64/aarch64.cc (aarch64_ptrue_reg): Fix type + of induction variable i. + +2024-10-23 Andrew Pinski + + PR tree-optimization/117260 + * gimple-match-exports.cc (maybe_push_res_to_seq): Reject non-const + internal functions. + +2024-10-23 Jonathan Wakely + + * ginclude/stdalign.h (__alignas_is_defined): Define for C++. + (__alignof_is_defined): Likewise. + +2024-10-23 David Malcolm + + PR jit/117275 + * toplev.cc (toplev::finalize): Call varasm_cc_finalize. + * varasm.cc (varasm_cc_finalize): New. + * varasm.h (varasm_cc_finalize): New decl. + +2024-10-23 Pengxuan Zheng + + PR target/113860 + * config/aarch64/aarch64-protos.h (aarch64_ptrue_reg): New function. + * config/aarch64/aarch64-simd.md (popcount2): Update pattern to + also support V1DI mode. + * config/aarch64/aarch64.cc (aarch64_ptrue_reg): New function. + * config/aarch64/aarch64.md (popcount2): Add TARGET_SVE support. + * config/aarch64/iterators.md (VDQHSD_V1DI): New mode iterator. + (SVE_VDQ_I): Add V1DI. + (bitsize): Likewise. + (VPRED): Likewise. + (VEC_POP_MODE): New mode attribute. + (vec_pop_mode): Likewise. + +2024-10-23 Andrew MacLeod + + PR tree-optimization/117222 + * range-op-ptr.cc (operator_pointer_diff::fold_range): New. + (operator_pointer_diff::op1_op2_relation_effect): Remove irange + variant. + (operator_pointer_diff::update_bitmask): Likewise. + +2024-10-23 David Malcolm + + PR fortran/105916 + * diagnostic-buffer.h: New file. + * diagnostic-format-json.cc: Define INCLUDE_VECTOR. Include + "diagnostic-buffer.h". + (class diagnostic_json_format_buffer): New subclass. + (class json_output_format): Add friend class + diagnostic_json_format_buffer. + (json_output_format::make_per_format_buffer): New vfunc + implementation. + (json_output_format::set_buffer): New vfunc implementation. + (json_output_format::json_output_format): Initialize m_buffer. + (json_output_format::m_buffer): New field. + (diagnostic_json_format_buffer::dump): New. + (diagnostic_json_format_buffer::empty_p): New. + (diagnostic_json_format_buffer::move_to): New. + (diagnostic_json_format_buffer::clear): New. + (diagnostic_json_format_buffer::flush): New. + (json_output_format::on_report_diagnostic): Implement optional + buffering. + * diagnostic-format-sarif.cc: Include "diagnostic-buffer.h". + (class diagnostic_sarif_format_buffer): New subclass. + (class sarif_builder): Add friend + class diagnostic_sarif_format_buffer. + (sarif_builder::num_results): New accessor. + (sarif_builder::get_result): New accessor. + (sarif_builder::on_report_diagnostic): Add param "buffer"; use it + to implement optional buffering. + (diagnostic_sarif_format_buffer::dump): New. + (diagnostic_sarif_format_buffer::empty_p): New. + (diagnostic_sarif_format_buffer::move_to): New. + (diagnostic_sarif_format_buffer::clear): New. + (diagnostic_sarif_format_buffer::flush): New. + (sarif_output_format::make_per_format_buffer): New vfunc + implementation. + (sarif_output_format::set_buffer): New vfunc implementation. + (sarif_output_format::on_report_diagnostic): Pass m_buffer to + sarif_builder::on_report_diagnostic. + (sarif_output_format::num_results): New accessor. + (sarif_output_format::get_result): New accessor. + (diagnostic_output_format::diagnostic_output_format): Initialize + m_buffer. + (diagnostic_output_format::m_buffer): New field. + (diagnostic_output_format::num_results): Get accessor. + (diagnostic_output_format::get_result): Get accessor. + (selftest::get_message_from_result): New. + (selftest::test_buffering): New. + (selftest::diagnostic_format_sarif_cc_tests): Call it. + * diagnostic-format-text.cc: Include + "diagnostic-client-data-hooks.h". + (class diagnostic_text_format_buffer): New subclass. + (diagnostic_text_format_buffer::diagnostic_text_format_buffer): + New. + (diagnostic_text_format_buffer::dump): New. + (diagnostic_text_format_buffer::empty_p): New. + (diagnostic_text_format_buffer::move_to): New. + (diagnostic_text_format_buffer::clear): New. + (diagnostic_text_format_buffer::flush): New. + (diagnostic_text_output_format::dump): Dump m_saved_output_buffer. + (diagnostic_text_output_format::set_buffer): New. + (diagnostic_text_output_format::make_per_format_buffer): New. + * diagnostic-format-text.h + (diagnostic_text_output_format::diagnostic_text_output_format): + Initialize m_saved_output_buffer. + (diagnostic_text_output_format::set_buffer): New decl. + (diagnostic_text_output_format::make_per_format_buffer): New decl. + (diagnostic_text_output_format::m_saved_output_buffer): New field. + * diagnostic-format.h (class diagnostic_per_format_buffer): New + forward decl. + (diagnostic_output_format::make_per_format_buffer): New vfunc. + (diagnostic_output_format::set_buffer): New vfunc. + * diagnostic.cc: Include "diagnostic-buffer.h". + (diagnostic_context::initialize): Replace memset with call to + "clear" on m_diagnostic_counters. Initializer + m_diagnostic_buffer. + (diagnostic_context::finish): Call set_diagnostic_buffer with + nullptr. + (diagnostic_context::dump): Update for encapsulation of counts + into m_diagnostic_counters. Dump m_diagnostic_buffer. + (diagnostic_context::execution_failed_p): Update for encapsulation of + counts into m_diagnostic_counters. + (diagnostic_context::check_max_errors): Likewise. + (diagnostic_context::report_diagnostic): Likewise. Eliminate + diagnostic_check_max_errors in favor of check_max_errors. + Update increment of counter to support buffering. Eliminate + diagnostic_action_after_output in favor of action_after_output. + Only add fixits to m_edit_context_ptr if buffering is disabled. + Only call diagnostic_output_format::after_diagnostic if buffering + is disabled. + (diagnostic_context::error_recursion): Eliminate + diagnostic_action_after_output in favor of action_after_output. + (diagnostic_context::set_diagnostic_buffer): New. + (diagnostic_context::clear_diagnostic_buffer): New. + (diagnostic_context::flush_diagnostic_buffer): New. + (diagnostic_counters::diagnostic_counters): New. + (diagnostic_counters::dump): New. + (diagnostic_counters::move_to): New. + (diagnostic_counters::clear): New. + (diagnostic_buffer::diagnostic_buffer): New. + (diagnostic_buffer::~diagnostic_buffer): New. + (diagnostic_buffer::dump): New. + (diagnostic_buffer::empty_p): New. + (diagnostic_buffer::move_to): New. + (diagnostic_buffer::ensure_per_format_buffer): New. + (c_diagnostic_cc_tests): Remove stray newline. + * diagnostic.h (class diagnostic_buffer): New forward decl. + (struct diagnostic_counters): New. + (diagnostic_context::check_max_errors): Make private. + (diagnostic_context::action_after_output): Make private. + (diagnostic_context::get_output_format): Make non-const. + (diagnostic_context::diagnostic_count): Update for change + to m_diagnostic_counters. + (diagnostic_context::set_diagnostic_buffer): New decl. + (diagnostic_context::get_diagnostic_buffer): New decl. + (diagnostic_context::clear_diagnostic_buffer): New decl. + (diagnostic_context::flush_diagnostic_buffer): New decl. + (diagnostic_context::m_diagnostic_count): Replace array with... + (diagnostic_context::m_diagnostic_counters): ...this. + (diagnostic_context::m_diagnostic_buffer): New field. + (diagnostic_action_after_output): Delete. + (diagnostic_check_max_errors): Delete. + +2024-10-23 Wilco Dijkstra + + * config/aarch64/aarch64-simd.md (aarch64_simd_mov): + Remove redundant mode check. + +2024-10-23 Wilco Dijkstra + + * config/aarch64/aarch64.md (copysign3): Widen immediate to + vector. + (copysign3_insn): Use VQ_INT_EQUIV in operand 3. + * config/aarch64/iterators.md (VQ_INT_EQUIV): New iterator. + (vq_int_equiv): Likewise. + +2024-10-23 Jason Merrill + + * doc/extend.texi (Deprecated Features): Remove text about some + no-longer-deprecated features. + +2024-10-23 Wilco Dijkstra + + * config/aarch64/aarch64.cc (enum simd_immediate_check): Add + AARCH64_CHECK_XOR. + (aarch64_simd_valid_xor_imm): New function. + (aarch64_output_simd_imm): Add AARCH64_CHECK_XOR support. + (aarch64_output_simd_xor_imm): New function. + * config/aarch64/aarch64-protos.h (aarch64_output_simd_xor_imm): New + prototype. + (aarch64_simd_valid_xor_imm): New prototype. + * config/aarch64/aarch64-simd.md (xor3): + Use aarch64_reg_or_xor_imm predicate and add an immediate alternative. + * config/aarch64/predicates.md (aarch64_reg_or_xor_imm): Add new + predicate. + +2024-10-23 Wilco Dijkstra + + * config/aarch64/aarch64-simd.md (ior3): + Use aarch64_reg_or_orr_imm predicate. Combine SVE/AdvSIMD immediates + and use aarch64_output_simd_orr_imm. + * config/aarch64/aarch64.cc (struct simd_immediate_info): Add SVE_MOV. + (aarch64_sve_valid_immediate): Use SVE_MOV for SVE move immediates. + (aarch64_simd_valid_imm): Enable SVE SIMD immediates when possible. + (aarch64_output_simd_imm): Support emitting SVE SIMD immediates. + * config/aarch64/predicates.md (aarch64_orr_imm_sve_advsimd): Remove. + +2024-10-23 Wilco Dijkstra + + * config/aarch64/aarch64-protos.h (enum simd_immediate_check): Move to aarch64.cc. + (aarch64_output_simd_mov_immediate): Remove. + (aarch64_output_simd_mov_imm): New prototype. + (aarch64_output_simd_orr_imm): Likewise. + (aarch64_output_simd_and_imm): Likewise. + (aarch64_simd_valid_immediate): Remove. + (aarch64_simd_valid_and_imm): New prototype. + (aarch64_simd_valid_mov_imm): Likewise. + (aarch64_simd_valid_orr_imm): Likewise. + * config/aarch64/aarch64-simd.md: Use aarch64_output_simd_mov_imm. + * config/aarch64/aarch64.cc (enum simd_immediate_check): Moved from aarch64-protos.h. + Use AARCH64_CHECK_AND rather than AARCH64_CHECk_BIC. + (aarch64_expand_sve_const_vector): Use aarch64_simd_valid_mov_imm. + (aarch64_expand_mov_immediate): Likewise. + (aarch64_can_const_movi_rtx_p): Likewise. + (aarch64_secondary_reload): Likewise. + (aarch64_legitimate_constant_p): Likewise. + (aarch64_advsimd_valid_immediate): Simplify checks on 'which' param. + (aarch64_sve_valid_immediate): Add extra param for move vs logical. + (aarch64_simd_valid_immediate): Rename to aarch64_simd_valid_imm. + (aarch64_simd_valid_mov_imm): New function. + (aarch64_simd_valid_orr_imm): Likewise. + (aarch64_simd_valid_and_imm): Likewise. + (aarch64_mov_operand_p): Use aarch64_simd_valid_mov_imm. + (aarch64_simd_scalar_immediate_valid_for_move): Likewise. + (aarch64_simd_make_constant): Likewise. + (aarch64_expand_vector_init_fallback): Likewise. + (aarch64_output_simd_mov_immediate): Rename to aarch64_output_simd_imm. + (aarch64_output_simd_orr_imm): New function. + (aarch64_output_simd_and_imm): Likewise. + (aarch64_output_simd_mov_imm): Likewise. + (aarch64_output_scalar_simd_mov_immediate): Use aarch64_output_simd_mov_imm. + (aarch64_output_sve_mov_immediate): Use aarch64_simd_valid_imm. + (aarch64_output_sve_ptrues): Likewise. + * config/aarch64/constraints.md (Do): Use aarch64_simd_valid_orr_imm. + (Db): Use aarch64_simd_valid_and_imm. + * config/aarch64/predicates.md (aarch64_reg_or_bic_imm): Use aarch64_simd_valid_orr_imm. + (aarch64_reg_or_and_imm): Use aarch64_simd_valid_and_imm. + +2024-10-23 liuhongt + + PR target/117240 + * config/i386/i386-builtin.def: Add avx/avx512f to vaes + ymm/zmm builtins. + +2024-10-23 Martin Jambor + + PR tree-optimization/117142 + * tree-sra.cc (build_access_from_call_arg): Disqualify any + candidate passed to a function returning twice. + +2024-10-23 Jakub Jelinek + + * doc/invoke.texi (Wleading-whitespace=): Document. + +2024-10-23 liuhongt + + PR target/117232 + * config/i386/sse.md (*kortest_cmp_movqicc): + New define_insn_and_split. + (*kortest_cmp_movcc): + Ditto. + 2024-10-22 Jakub Jelinek PR middle-end/117199 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c961d1b391e..7f899e9ca4b 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241023 +20241024 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 3484a212b2f..19b38a334e5 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,13 @@ +2024-10-23 Jakub Jelinek + + * c.opt.urls: Regenerate. + +2024-10-23 Jakub Jelinek + + * c.opt (Wleading-whitespace=): New option. + * c-opts.cc (c_common_post_options): Set cpp_opts->cpp_tabstop + to global_dc->m_tabstop. + 2024-10-22 Jakub Jelinek PR c/117230 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 4a427efe2b8..cbf871b69ef 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,103 @@ +2024-10-23 David Malcolm + + PR fortran/105916 + * error.cc (pp_error_buffer, pp_warning_buffer): Convert from + output_buffer * to diagnostic_buffer *. + (warningcount_buffered, werrorcount_buffered): Eliminate. + (gfc_error_buffer::gfc_error_buffer): Move constructor definition + here, and initialize "buffer" using *global_dc. + (gfc_output_buffer_empty_p): Delete in favor of + diagnostic_buffer::empty_p. + (gfc_clear_pp_buffer): Replace with... + (gfc_clear_diagnostic_buffer): ...this, moving implementation + details to diagnostic_context::clear_diagnostic_buffer. + (gfc_warning): Replace buffering implementation with calls + to global_dc->get_diagnostic_buffer and + global_dc->set_diagnostic_buffer. + (gfc_clear_warning): Update for renaming of gfc_clear_pp_buffer + and elimination of warningcount_buffered and werrorcount_buffered. + (gfc_warning_check): Replace buffering implementation with calls + to pp_warning_buffer->empty_p and + global_dc->flush_diagnostic_buffer. + (gfc_error_opt): Replace buffering implementation with calls to + global_dc->get_diagnostic_buffer and set_diagnostic_buffer. + (gfc_clear_error): Update for renaming of gfc_clear_pp_buffer. + (gfc_error_flag_test): Replace call to gfc_output_buffer_empty_p + with call to diagnostic_buffer::empty_p. + (gfc_error_check): Replace buffering implementation with calls + to pp_error_buffer->empty_p and global_dc->flush_diagnostic_buffer. + (gfc_move_error_buffer_from_to): Replace buffering implementation + with usage of diagnostic_buffer. + (gfc_free_error): Update for renaming of gfc_clear_pp_buffer. + (gfc_diagnostics_init): Use "new" directly when creating + pp_warning_buffer. Remove setting of m_flush_p on the two + buffers, as this is handled by diagnostic_buffer and by + diagnostic_text_format_buffer's constructor. + * gfortran.h: Replace #include "pretty-print.h" for output_buffer + with #include "diagnostic-buffer.h" for diagnostic_buffer. + (struct gfc_error_buffer): Change type of field "buffer" from + output_buffer to diagnostic_buffer. Move definition of constructor + into error.cc so that it can use global_dc. + +2024-10-23 Paul Thomas + + PR fortran/116733 + * array.cc : White space corrections. + * expr.cc (gfc_check_pointer_assign): Permit assumed rank + target with -std=f202y. Add constraints that the data pointer + object must have rank remapping specified and the that the data + target be contiguous. + * gfortran.h : Add a gfc_array_ref field 'ar' to the structure + 'gfc_association_list'. + * interface.cc (gfc_compare_actual_formal): If -Wsurprising + is set, emit a warning if an assumed size array is passed to an + assumed rank dummy. + * intrinsic.cc (do_ts29113_check): Permit an assumed rank arg. + for reshape if -std=f202y and the argument is contiguous. + * invoke.texi : Introduce -std=f202y. Whitespace errors. + * lang.opt : Accept -std=f202y. + * libgfortran.h : Define GFC_STD_F202Y. + * match.cc (gfc_match_associate): If -std=f202y an assumed rank + selector is allowed if it is contiguous and the associate name + has rank remapping specified. + * options.cc (gfc_init_options): -std=f202y is equivalent to + -std=f2023 with experimental f202y features. White space issues + * parse.cc (parse_associate): If the selector is assumed rank, + use the 'ar' field of the association list to build an array + specification. + * primary.cc (gfc_match_varspec): Do not resolve the assumed + rank selector of a class associate name at this stage to avoid + the rank change. + * resolve.cc (find_array_spec): If an array_ref dimension is -1 + reset it with the rank in the object's array_spec. + (gfc_expression_rank): Do not check dimen types for an assumed + rank variable expression. + (resolve_variable): Do not emit the assumed rank context error + if the context is pointer assignment and the variable is a + target. + (resolve_assoc_var): Resolve the bounds and check for missing + bounds in the rank remap of an associate name with an assumed + rank selector. Do not correct the rank of an associate name + with an assumed rank selector. + (resolve_symbol): Allow the reference to an assumed rank object + if -std-f202y is enabled and the current operation is + EXEC_BLOCK. + * st.cc (gfc_free_association_list): Free bounds expressions + of the 'ar' field, if present. + * trans-array.cc (gfc_conv_ss_startstride): If -std=f202y and + bounds checking activated, do not apply the assertion. + * trans-expr.cc (gfc_trans_pointer_assignment): An assumed rank + target has its offset set to zero. + * trans-stmt.cc (trans_associate_var): If the selector is + assumed rank, call gfc_trans_pointer_assignment using the 'ar' + field in the association list as the array reference for expr1. + The data target, expr2, is a copy of the selector expression. + +2024-10-23 Tobias Burnus + + * error.cc (terminal_width, gfc_get_terminal_width): Remove. + (gfc_error_init_1): Do not call one to set the other. + 2024-10-19 Tobias Burnus * check.cc (is_c_interoperable): Use _(...) around to mark strings diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0e381a885eb..aa9382e1116 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,92 @@ +2024-10-23 Pengxuan Zheng + + PR target/113860 + * gcc.target/aarch64/popcnt-sve.c: Update test. + * gcc.target/aarch64/popcnt11.c: New test. + * gcc.target/aarch64/popcnt12.c: New test. + +2024-10-23 Andrew MacLeod + + PR tree-optimization/117222 + * g++.dg/pr117222.C: New. + +2024-10-23 David Malcolm + + PR fortran/105916 + * gcc.dg/plugin/diagnostic_plugin_xhtml_format.c: Include + "diagnostic-buffer.h". + (class diagnostic_xhtml_format_buffer): New subclass. + (class xhtml_builder): Add friend + class diagnostic_xhtml_format_buffer. + (diagnostic_xhtml_format_buffer::dump): New. + (diagnostic_xhtml_format_buffer::empty_p): New. + (diagnostic_xhtml_format_buffer::move_to): New. + (diagnostic_xhtml_format_buffer::clear): New. + (diagnostic_xhtml_format_buffer::flush): New. + (xhtml_builder::on_report_diagnostic): Add "buffer" param, and use + it. + (xhtml_output_format::dump): Fix typo. + (xhtml_output_format::make_per_format_buffer): New. + (xhtml_output_format::set_buffer): New. + (xhtml_output_format::on_report_diagnostic): Fix whitespace. Pass + m_buffer to xhtml_builder::on_report_diagnostic. + (xhtml_output_format::xhtml_output_format): Initialize m_buffer. + (xhtml_output_format::m_buffer): New field. + * gfortran.dg/diagnostic-format-json-pr105916.F90: New test. + * gfortran.dg/diagnostic-format-sarif-1.F90: New test. + * gfortran.dg/diagnostic-format-sarif-1.py: New support script. + * gfortran.dg/diagnostic-format-sarif-pr105916.f90: New test. + +2024-10-23 Paul Thomas + + PR fortran/116733 + * gfortran.dg/associate_3.f03: Change error message. + * gfortran.dg/f202y/f202y.exp: Enable tests of f202y features. + * gfortran.dg/f202y/generic_assumed_rank_1.f90: New test. + * gfortran.dg/f202y/generic_assumed_rank_2.f90: New test. + * gfortran.dg/f202y/generic_assumed_rank_3.f90: New test. + +2024-10-23 Wilco Dijkstra + + * gcc.target/aarch64/copysign_3.c: New test. + * gcc.target/aarch64/copysign_4.c: New test. + * gcc.target/aarch64/fneg-abs_2.c: Fixup test. + * gcc.target/aarch64/sve/fneg-abs_2.c: Likewise. + +2024-10-23 Wilco Dijkstra + + * gcc.target/aarch64/sve/simd_imm.c: New test. + +2024-10-23 Wilco Dijkstra + + * gcc.target/aarch64/sve/acle/asm/insr_s64.c: Allow SVE MOV imm. + * gcc.target/aarch64/sve/acle/asm/insr_u64.c: Likewise. + * gcc.target/aarch64/sve/fneg-abs_1.c: Update to check for ORRI. + * gcc.target/aarch64/sve/fneg-abs_2.c: Likewise. + * gcc.target/aarch64/sve/simd_imm_mov.c: New test. + +2024-10-23 liuhongt + + * gcc.target/i386/pr117240_avx.c: New test. + * gcc.target/i386/pr117240_avx512f.c: New test. + +2024-10-23 Martin Jambor + + PR tree-optimization/117142 + * gcc.dg/tree-ssa/pr117142.c: New test. + +2024-10-23 Jakub Jelinek + + * c-c++-common/cpp/Wleading-whitespace-1.c: New test. + * c-c++-common/cpp/Wleading-whitespace-2.c: New test. + * c-c++-common/cpp/Wleading-whitespace-3.c: New test. + * c-c++-common/cpp/Wleading-whitespace-4.c: New test. + +2024-10-23 liuhongt + + * gcc.target/i386/pr117232-1.c: New test. + * gcc.target/i386/pr117232-apx-1.c: New test. + 2024-10-23 Joseph Myers * gcc.dg/gnu17-tag-1.c, gcc.dg/gnu23-tag-5.c: New tests. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 350bac88321..703f30d4f5a 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,17 @@ +2024-10-23 Jakub Jelinek + + * include/cpplib.h (struct cpp_options): Add + cpp_warn_leading_whitespace and cpp_tabstop members. + (enum cpp_warning_reason): Add CPP_W_LEADING_WHITESPACE. + * internal.h (struct _cpp_line_note): Document new + line note kinds. + * init.cc (cpp_create_reader): Set cpp_tabstop to 8. + * lex.cc (find_leading_whitespace_issues): New function. + (_cpp_clean_line): Use it. + (_cpp_process_line_notes): Handle 'L', 'S' and 'T' line notes. + (lex_raw_string): Clear type on 'L', 'S' and 'T' line notes + inside of raw string literals. + 2024-10-19 Lewis Hyatt PR preprocessor/114423 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d8e5716175d..4029186da96 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,36 @@ +2024-10-23 Jonathan Wakely + + * testsuite/18_support/headers/cstdalign/macros.cc: New test. + +2024-10-23 Jonathan Wakely + + * doc/xml/manual/evolution.xml: Document that assertions are + enabled for unoptimized builds. + * doc/html/*: Regenerate. + +2024-10-23 Jonathan Wakely + + * doc/xml/manual/test.xml: Add GLIBCXX_TESTSUITE_STDS example. + * doc/html/manual/test.html: Regenerate. + +2024-10-23 Jonathan Wakely + + * include/bits/basic_string.h (assign(Iter, Iter)): Call + std::to_address instead of __to_address. + +2024-10-23 François Dumont + + PR libstdc++/115285 + * include/bits/hashtable.h (_S_forward_key<_Kt>): Always return a temporary + key_type instance. + * testsuite/23_containers/unordered_map/96088.cc: Adapt to additional instanciation. + Also check that mapped_type is not instantiated when there is no insertion. + * testsuite/23_containers/unordered_multimap/96088.cc: Adapt to additional + instanciation. + * testsuite/23_containers/unordered_multiset/96088.cc: Likewise. + * testsuite/23_containers/unordered_set/96088.cc: Likewise. + * testsuite/23_containers/unordered_set/pr115285.cc: New test case. + 2024-10-22 Patrick Palka * include/std/ranges (concat_view::begin): Add space after