]> gcc.gnu.org Git - gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 5 Nov 2023 00:17:12 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 5 Nov 2023 00:17:12 +0000 (00:17 +0000)
12 files changed:
gcc/ChangeLog
gcc/DATESTAMP
gcc/ada/ChangeLog
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/jit/ChangeLog
gcc/objc/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index ff612a0e66321aa98ecc9b53a36999274463f117..f21a656b8e1db82bac0f22b52f22802fc3d2ba5d 100644 (file)
@@ -1,3 +1,358 @@
+2023-11-04  Sergei Trofimovich  <siarheit@google.com>
+
+       PR bootstrap/112379
+       * gcc-urlifier.cc (get_url_suffix_for_quoted_text): Mark as
+       ATTRIBUTE_UNUSED.
+
+2023-11-04  Pan Li  <pan2.li@intel.com>
+
+       * config/riscv/vector-iterators.md: Remove HF modes.
+
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * diagnostic.cc: Include "pretty-print-urlifier.h".
+       (diagnostic_context::initialize): Initialize m_urlifier.
+       (diagnostic_context::finish): Clean up m_urlifier
+       (diagnostic_report::diagnostic): m_urlifier to pp_format.
+       * diagnostic.h (diagnostic_context::m_urlifier): New field.
+       * gcc-urlifier.cc: New file.
+       * gcc-urlifier.def: New file.
+       * gcc-urlifier.h: New file.
+       * gcc.cc: Include "gcc-urlifier.h".
+       (driver::global_initializations): Initialize global_dc->m_urlifier.
+       * pretty-print-urlifier.h: New file.
+       * pretty-print.cc: Include "pretty-print-urlifier.h".
+       (obstack_append_string): New.
+       (urlify_quoted_string): New.
+       (pp_format): Add "urlifier" param and use it to implement optional
+       urlification of quoted text strings.
+       (pp_output_formatted_text): Make buffer a const pointer.
+       (selftest::pp_printf_with_urlifier): New.
+       (selftest::test_urlification): New.
+       (selftest::pretty_print_cc_tests): Call it.
+       * pretty-print.h (class urlifier): New forward declaration.
+       (pp_format): Add optional urlifier param.
+       * selftest-run-tests.cc (selftest::run_tests): Call
+       selftest::gcc_urlifier_cc_tests .
+       * selftest.h (selftest::gcc_urlifier_cc_tests): New decl.
+       * toplev.cc: Include "gcc-urlifier.h".
+       (general_init): Initialize global_dc->m_urlifier.
+
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * Makefile.in (GCC_OBJS): Add gcc-urlifier.o.
+       (OBJS): Likewise.
+
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * common.opt (fdiagnostics-text-art-charset=): Remove refererence
+       to diagnostic-text-art.h.
+       * coretypes.h (struct diagnostic_context): Replace forward decl
+       with...
+       (class diagnostic_context): ...this.
+       * diagnostic-format-json.cc: Update for changes to
+       diagnostic_context.
+       * diagnostic-format-sarif.cc: Likewise.
+       * diagnostic-show-locus.cc: Likewise.
+       * diagnostic-text-art.h: Deleted file, moving content...
+       (enum diagnostic_text_art_charset): ...to diagnostic.h,
+       (DIAGNOSTICS_TEXT_ART_CHARSET_DEFAULT): ...deleting,
+       (diagnostics_text_art_charset_init): ...deleting in favor of
+       diagnostic_context::set_text_art_charset.
+       * diagnostic.cc: Remove include of "diagnostic-text-art.h".
+       (pedantic_warning_kind): Update for field renaming.
+       (permissive_error_kind): Likewise.
+       (permissive_error_option): Likewise.
+       (diagnostic_initialize): Convert to...
+       (diagnostic_context::initialize): ...this, updating for field
+       renamings.
+       (diagnostic_color_init): Convert to...
+       (diagnostic_context::color_init): ...this.
+       (diagnostic_urls_init): Convert to...
+       (diagnostic_context::urls_init): ...this.
+       (diagnostic_initialize_input_context): Convert to...
+       (diagnostic_context::initialize_input_context): ...this.
+       (diagnostic_finish): Convert to...
+       (diagnostic_context::finish): ...this, updating for field
+       renamings.
+       (diagnostic_context::set_output_format): New.
+       (diagnostic_context::set_client_data_hooks): New.
+       (diagnostic_context::create_edit_context): New.
+       (diagnostic_converted_column): Convert to...
+       (diagnostic_context::converted_column): ...this.
+       (diagnostic_get_location_text): Update for field renaming.
+       (diagnostic_check_max_errors): Convert to...
+       (diagnostic_context::check_max_errors): ...this, updating for
+       field renamings.
+       (diagnostic_action_after_output): Convert to...
+       (diagnostic_context::action_after_output): ...this, updating for
+       field renamings.
+       (last_module_changed_p): Delete.
+       (set_last_module): Delete.
+       (includes_seen): Convert to...
+       (diagnostic_context::includes_seen_p): ...this, updating for field
+       renamings.
+       (diagnostic_report_current_module): Convert to...
+       (diagnostic_context::report_current_module): ...this, updating for
+       field renamings, and replacing uses of last_module_changed_p and
+       set_last_module to simple field accesses.
+       (diagnostic_show_any_path): Convert to...
+       (diagnostic_context::show_any_path): ...this.
+       (diagnostic_classify_diagnostic): Convert to...
+       (diagnostic_context::classify_diagnostic): ...this, updating for
+       field renamings.
+       (diagnostic_push_diagnostics): Convert to...
+       (diagnostic_context::push_diagnostics): ...this, updating for field
+       renamings.
+       (diagnostic_pop_diagnostics): Convert to...
+       (diagnostic_context::pop_diagnostics): ...this, updating for field
+       renamings.
+       (get_any_inlining_info): Convert to...
+       (diagnostic_context::get_any_inlining_info): ...this, updating for
+       field renamings.
+       (update_effective_level_from_pragmas): Convert to...
+       (diagnostic_context::update_effective_level_from_pragmas):
+       ...this, updating for field renamings.
+       (print_any_cwe): Convert to...
+       (diagnostic_context::print_any_cwe): ...this.
+       (print_any_rules): Convert to...
+       (diagnostic_context::print_any_rules): ...this.
+       (print_option_information): Convert to...
+       (diagnostic_context::print_option_information): ...this, updating
+       for field renamings.
+       (diagnostic_enabled): Convert to...
+       (diagnostic_context::diagnostic_enabled): ...this, updating for
+       field renamings.
+       (warning_enabled_at): Convert to...
+       (diagnostic_context::warning_enabled_at): ...this.
+       (diagnostic_report_diagnostic): Convert to...
+       (diagnostic_context::report_diagnostic): ...this, updating for
+       field renamings and conversions to member functions.
+       (diagnostic_append_note): Update for field renaming.
+       (diagnostic_impl): Use diagnostic_context::report_diagnostic
+       directly.
+       (diagnostic_n_impl): Likewise.
+       (diagnostic_emit_diagram): Convert to...
+       (diagnostic_context::emit_diagram): ...this, updating for field
+       renamings.
+       (error_recursion): Convert to...
+       (diagnostic_context::error_recursion): ...this.
+       (diagnostic_text_output_format::~diagnostic_text_output_format):
+       Use accessor.
+       (diagnostics_text_art_charset_init): Convert to...
+       (diagnostic_context::set_text_art_charset): ...this.
+       (assert_location_text): Update for field renamings.
+       * diagnostic.h (enum diagnostic_text_art_charset): Move here from
+       diagnostic-text-art.h.
+       (struct diagnostic_context): Convert to...
+       (class diagnostic_context): ...this.
+       (diagnostic_context::ice_handler_callback_t): New typedef.
+       (diagnostic_context::set_locations_callback_t): New typedef.
+       (diagnostic_context::initialize): New decl.
+       (diagnostic_context::color_init): New decl.
+       (diagnostic_context::urls_init): New decl.
+       (diagnostic_context::file_cache_init): New decl.
+       (diagnostic_context::finish): New decl.
+       (diagnostic_context::set_set_locations_callback): New.
+       (diagnostic_context::initialize_input_context): New decl.
+       (diagnostic_context::warning_enabled_at): New decl.
+       (diagnostic_context::option_unspecified_p): New.
+       (diagnostic_context::report_diagnostic): New decl.
+       (diagnostic_context::report_current_module): New decl.
+       (diagnostic_context::check_max_errors): New decl.
+       (diagnostic_context::action_after_output): New decl.
+       (diagnostic_context::classify_diagnostic): New decl.
+       (diagnostic_context::push_diagnostics): New decl.
+       (diagnostic_context::pop_diagnostics): New decl.
+       (diagnostic_context::emit_diagram): New decl.
+       (diagnostic_context::set_output_format): New decl.
+       (diagnostic_context::set_text_art_charset): New decl.
+       (diagnostic_context::set_client_data_hooks): New decl.
+       (diagnostic_context::create_edit_context): New decl.
+       (diagnostic_context::set_warning_as_error_requested): New.
+       (diagnostic_context::set_report_bug): New.
+       (diagnostic_context::set_extra_output_kind): New.
+       (diagnostic_context::set_show_cwe): New.
+       (diagnostic_context::set_show_rules): New.
+       (diagnostic_context::set_path_format): New.
+       (diagnostic_context::set_show_path_depths): New.
+       (diagnostic_context::set_show_option_requested): New.
+       (diagnostic_context::set_max_errors): New.
+       (diagnostic_context::set_escape_format): New.
+       (diagnostic_context::set_ice_handler_callback): New.
+       (diagnostic_context::warning_as_error_requested_p): New.
+       (diagnostic_context::show_path_depths_p): New.
+       (diagnostic_context::get_path_format): New.
+       (diagnostic_context::get_escape_format): New.
+       (diagnostic_context::get_file_cache): New.
+       (diagnostic_context::get_edit_context): New.
+       (diagnostic_context::get_client_data_hooks): New.
+       (diagnostic_context::get_diagram_theme): New.
+       (diagnostic_context::converted_column): New decl.
+       (diagnostic_context::diagnostic_count): New.
+       (diagnostic_context::includes_seen_p): New decl.
+       (diagnostic_context::print_any_cwe): New decl.
+       (diagnostic_context::print_any_rules): New decl.
+       (diagnostic_context::print_option_information): New decl.
+       (diagnostic_context::show_any_path): New decl.
+       (diagnostic_context::error_recursion): New decl.
+       (diagnostic_context::diagnostic_enabled): New decl.
+       (diagnostic_context::get_any_inlining_info): New decl.
+       (diagnostic_context::update_effective_level_from_pragmas): New
+       decl.
+       (diagnostic_context::m_file_cache): Make private.
+       (diagnostic_context::diagnostic_count): Rename to...
+       (diagnostic_context::m_diagnostic_count): ...this and make
+       private.
+       (diagnostic_context::warning_as_error_requested): Rename to...
+       (diagnostic_context::m_warning_as_error_requested): ...this and
+       make private.
+       (diagnostic_context::n_opts): Rename to...
+       (diagnostic_context::m_n_opts): ...this and make private.
+       (diagnostic_context::classify_diagnostic): Rename to...
+       (diagnostic_context::m_classify_diagnostic): ...this and make
+       private.
+       (diagnostic_context::classification_history): Rename to...
+       (diagnostic_context::m_classification_history): ...this and make
+       private.
+       (diagnostic_context::n_classification_history): Rename to...
+       (diagnostic_context::m_n_classification_history): ...this and make
+       private.
+       (diagnostic_context::push_list): Rename to...
+       (diagnostic_context::m_push_list): ...this and make private.
+       (diagnostic_context::n_push): Rename to...
+       (diagnostic_context::m_n_push): ...this and make private.
+       (diagnostic_context::show_cwe): Rename to...
+       (diagnostic_context::m_show_cwe): ...this and make private.
+       (diagnostic_context::show_rules): Rename to...
+       (diagnostic_context::m_show_rules): ...this and make private.
+       (diagnostic_context::path_format): Rename to...
+       (diagnostic_context::m_path_format): ...this and make private.
+       (diagnostic_context::show_path_depths): Rename to...
+       (diagnostic_context::m_show_path_depths): ...this and make
+       private.
+       (diagnostic_context::show_option_requested): Rename to...
+       (diagnostic_context::m_show_option_requested): ...this and make
+       private.
+       (diagnostic_context::abort_on_error): Rename to...
+       (diagnostic_context::m_abort_on_error): ...this.
+       (diagnostic_context::show_column): Rename to...
+       (diagnostic_context::m_show_column): ...this.
+       (diagnostic_context::pedantic_errors): Rename to...
+       (diagnostic_context::m_pedantic_errors): ...this.
+       (diagnostic_context::permissive): Rename to...
+       (diagnostic_context::m_permissive): ...this.
+       (diagnostic_context::opt_permissive): Rename to...
+       (diagnostic_context::m_opt_permissive): ...this.
+       (diagnostic_context::fatal_errors): Rename to...
+       (diagnostic_context::m_fatal_errors): ...this.
+       (diagnostic_context::dc_inhibit_warnings): Rename to...
+       (diagnostic_context::m_inhibit_warnings): ...this.
+       (diagnostic_context::dc_warn_system_headers): Rename to...
+       (diagnostic_context::m_warn_system_headers): ...this.
+       (diagnostic_context::max_errors): Rename to...
+       (diagnostic_context::m_max_errors): ...this and make private.
+       (diagnostic_context::internal_error): Rename to...
+       (diagnostic_context::m_internal_error): ...this.
+       (diagnostic_context::option_enabled): Rename to...
+       (diagnostic_context::m_option_enabled): ...this.
+       (diagnostic_context::option_state): Rename to...
+       (diagnostic_context::m_option_state): ...this.
+       (diagnostic_context::option_name): Rename to...
+       (diagnostic_context::m_option_name): ...this.
+       (diagnostic_context::get_option_url): Rename to...
+       (diagnostic_context::m_get_option_url): ...this.
+       (diagnostic_context::print_path): Rename to...
+       (diagnostic_context::m_print_path): ...this.
+       (diagnostic_context::make_json_for_path): Rename to...
+       (diagnostic_context::m_make_json_for_path): ...this.
+       (diagnostic_context::x_data): Rename to...
+       (diagnostic_context::m_client_aux_data): ...this.
+       (diagnostic_context::last_location): Rename to...
+       (diagnostic_context::m_last_location): ...this.
+       (diagnostic_context::last_module): Rename to...
+       (diagnostic_context::m_last_module): ...this and make private.
+       (diagnostic_context::lock): Rename to...
+       (diagnostic_context::m_lock): ...this and make private.
+       (diagnostic_context::lang_mask): Rename to...
+       (diagnostic_context::m_lang_mask): ...this.
+       (diagnostic_context::inhibit_notes_p): Rename to...
+       (diagnostic_context::m_inhibit_notes_p): ...this.
+       (diagnostic_context::report_bug): Rename to...
+       (diagnostic_context::m_report_bug): ...this and make private.
+       (diagnostic_context::extra_output_kind): Rename to...
+       (diagnostic_context::m_extra_output_kind): ...this and make
+       private.
+       (diagnostic_context::column_unit): Rename to...
+       (diagnostic_context::m_column_unit): ...this and make private.
+       (diagnostic_context::column_origin): Rename to...
+       (diagnostic_context::m_column_origin): ...this and make private.
+       (diagnostic_context::tabstop): Rename to...
+       (diagnostic_context::m_tabstop): ...this and make private.
+       (diagnostic_context::escape_format): Rename to...
+       (diagnostic_context::m_escape_format): ...this and make private.
+       (diagnostic_context::edit_context_ptr): Rename to...
+       (diagnostic_context::m_edit_context_ptr): ...this and make
+       private.
+       (diagnostic_context::set_locations_cb): Rename to...
+       (diagnostic_context::m_set_locations_cb): ...this and make
+       private.
+       (diagnostic_context::ice_handler_cb): Rename to...
+       (diagnostic_context::m_ice_handler_cb): ...this and make private.
+       (diagnostic_context::includes_seen): Rename to...
+       (diagnostic_context::m_includes_seen): ...this and make private.
+       (diagnostic_inhibit_notes): Update for field renaming.
+       (diagnostic_context_auxiliary_data): Likewise.
+       (diagnostic_abort_on_error): Convert from macro to inline function
+       and update for field renaming.
+       (diagnostic_kind_count): Convert from macro to inline function and
+       use diagnostic_count accessor.
+       (diagnostic_report_warnings_p): Update for field renaming.
+       (diagnostic_initialize): Convert decl to inline function calling
+       into diagnostic_context.
+       (diagnostic_color_init): Likewise.
+       (diagnostic_urls_init): Likewise.
+       (diagnostic_urls_init): Likewise.
+       (diagnostic_finish): Likewise.
+       (diagnostic_report_current_module): Likewise.
+       (diagnostic_show_any_path): Delete decl.
+       (diagnostic_initialize_input_context): Convert decl to inline
+       function calling into diagnostic_context.
+       (diagnostic_classify_diagnostic): Likewise.
+       (diagnostic_push_diagnostics): Likewise.
+       (diagnostic_pop_diagnostics): Likewise.
+       (diagnostic_report_diagnostic): Likewise.
+       (diagnostic_action_after_output): Likewise.
+       (diagnostic_check_max_errors): Likewise.
+       (diagnostic_file_cache_fini): Delete decl.
+       (diagnostic_converted_column): Delete decl.
+       (warning_enabled_at): Convert decl to inline function calling into
+       diagnostic_context.
+       (option_unspecified_p): New.
+       (diagnostic_emit_diagram): Delete decl.
+       * gcc.cc: Remove include of "diagnostic-text-art.h".
+       Update for changes to diagnostic_context.
+       * input.cc (diagnostic_file_cache_init): Move implementation
+       to...
+       (diagnostic_context::file_cache_init): ...this new member
+       function.
+       (diagnostic_file_cache_fini): Delete.
+       (diagnostics_file_cache_forcibly_evict_file): Update for
+       m_file_cache becoming private.
+       (location_get_source_line): Likewise.
+       (get_source_file_content): Likewise.
+       (location_missing_trailing_newline): Likewise.
+       * input.h (diagnostics_file_cache_fini): Delete.
+       * langhooks.cc: Update for changes to diagnostic_context.
+       * lto-wrapper.cc: Likewise.
+       * opts.cc: Remove include of "diagnostic-text-art.h".
+       Update for changes to diagnostic_context.
+       * selftest-diagnostic.cc: Update for changes to
+       diagnostic_context.
+       * toplev.cc: Likewise.
+       * tree-diagnostic-path.cc: Likewise.
+       * tree-diagnostic.cc: Likewise.
+
 2023-11-03  Martin Uecker  <uecker@tugraz.at>
 
        PR c/98541
index b7cd0b910c550cd82e885bc6fb325fc6aa2b88c5..39983b1bc266c328233e55a02a7bee0c27763b62 100644 (file)
@@ -1 +1 @@
-20231104
+20231105
index e628a730db1f37bb21df5df4a0d925490c756b68..bedbc5d58f9121cb63fea79987c81e169f787b02 100644 (file)
@@ -1,3 +1,7 @@
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * gcc-interface/misc.cc: Update for changes to diagnostic_context.
+
 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
 
        * gcc-interface/Makefile.in: Handle Darwin rpaths.
index e6f40e93d69cf706a8bd1a8a9f277e070b776019..e5658700ae43fffcf7044784a6412d773765f3b1 100644 (file)
@@ -1,3 +1,7 @@
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * bounds-checking.cc: Update for changes to diagnostic_context.
+
 2023-11-02  David Malcolm  <dmalcolm@redhat.com>
 
        PR analyzer/112317
index 3361fbd0cd0a17980eea7195dd17a65aa6cf58d2..1cf06aad11ebeae6626587cc91216c26f79c6199 100644 (file)
@@ -1,3 +1,16 @@
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * c-pragma.cc:: (handle_pragma_push_options): Fix missing "GCC" in
+       name of pragma in "junk" message.
+       (handle_pragma_pop_options): Likewise.
+
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * c-common.cc: Update for changes to diagnostic_context.
+       * c-indentation.cc: Likewise.
+       * c-opts.cc: Likewise.
+       * c-warn.cc: Likewise.
+
 2023-11-01  Martin Uecker  <uecker@tugraz.at>
 
        PR c/71219
index 50cefdb1cb17007b9fc5f17cb06bdb85d20b32dc..64902b610a21cb0c48d47d28d341bf9673f79d34 100644 (file)
@@ -1,3 +1,83 @@
+2023-11-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-parser.h (c_maybe_parse_omp_decl): Declare.
+       * c-parser.cc (struct c_parser): Add in_omp_decl_attribute member.
+       (c_parser_std_attribute): Uncoment omp::decl handling.
+       (c_parser_omp_var_list_parens): If parser->in_omp_decl_attribute
+       don't expect any arguments, instead create clause or TREE_LIST for
+       that decl.
+       (c_maybe_parse_omp_decl): New function.
+       (c_parser_omp_declare_target): If parser->in_omp_decl_attribute and
+       first token isn't name or comma invoke c_parser_omp_var_list_parens.
+       * c-decl.cc (c_decl_attributes): Uncomment omp::decl handling and
+       use *node rather than non-existing *decl.
+
+2023-11-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-tree.def: New file.
+       * c-tree.h (struct c_tree_token_vec): Forward declare.
+       (c_tree_size): Declare.
+       * c-lang.h (struct c_omp_declare_target_attr): Add attr_syntax member.
+       (struct c_omp_begin_assumes_data): New type.
+       (current_omp_begin_assumes): Change type from int to
+       vec<c_omp_begin_assumes_data, va_gc> *.
+       * c-lang.cc: Include c-family/c-pragma.h and c-parser.h.
+       * c-parser.h (struct c_tree_token_vec_struct): New type.
+       (C_TOKEN_VEC_TOKENS): New macro.
+       * c-parser.cc (struct c_parser): Add omp_attrs_forbidden_p and
+       in_omp_attribute_pragma members.
+       (c_parser_skip_until_found): Handle CPP_PRAGMA_EOL when
+       parser->in_omp_attribute_pragma.
+       (c_parser_skip_to_pragma_eol): Likewise.
+       (c_parser_translation_unit): Adjust for current_omp_begin_assumes
+       being a vector rather than counter.
+       (c_parser_declaration_or_fndef): Handle omp::directive and
+       omp::sequence attributes on attribute declaration and declare simd
+       or declare variant directives in those on function declarations.
+       (c_parser_check_balanced_raw_token_sequence): Forward declare.
+       (c_parser_omp_directive_args, c_parser_omp_sequence_args): New
+       functions.
+       (c_parser_std_attribute): Handle omp::directive and omp::sequence
+       attributes.
+       (struct c_omp_attribute_data): New type.
+       (c_parser_handle_statement_omp_attributes,
+       c_parser_handle_directive_omp_attributes): New functions.
+       (c_parser_compound_statement_nostart): Handle omp::directive and
+       omp::sequence attributes on statements.  Formatting fix.
+       (c_parser_all_labels): Handle omp::directive and omp::sequence
+       attributes on statements.
+       (c_parser_statement): Clear parser->omp_attrs_forbidden_p.
+       (c_parser_omp_variable_list): Handle parser->tokens
+       != &parser->tokens_buf[0] by saving/restoring it.
+       (c_parser_omp_structured_block): Set parser->omp_attrs_forbidden_p.
+       (c_parser_omp_section_scan): New function.
+       (c_parser_omp_structured_block_sequence, c_parser_omp_sections_scope):
+       Use it.
+       (c_parser_omp_parallel): Set parser->omp_attrs_forbidden_p.
+       (c_parser_omp_task): Likewise.
+       (c_parser_omp_declare_simd): Handle function declaration after
+       std attributes.
+       (c_finish_omp_declare_simd): Don't assert all kinds are the same.
+       (c_parser_omp_declare_target): Also push attr_syntax flag.
+       (c_parser_omp_begin): Likewise.  Adjust for current_omp_begin_assumes
+       type change.
+       (c_parser_omp_end): Adjust for current_omp_begin_assumes type
+       change.  Diagnose mixing of attribute vs. pragma syntax on end assumes
+       or end declare target.
+       (c_parser_omp_declare_reduction): Handle parser->tokens
+       != &parser->tokens_buf[0] by saving/restoring it.
+       * c-decl.cc: Include c-parser.h.
+       (current_omp_begin_assumes): Change type from int to
+       vec<c_omp_begin_assumes_data, va_gc> *.
+       (struct c_tree_token_vec): New type.  Add static assertions
+       for sizeof and offsetof.
+       (union lang_tree_node): Add c_token_vec member and adjust GTY
+       desc for it.
+       (c_tree_size): New function.
+       (c_decl_attributes): Diagnose invalid omp::directive attribute
+       uses.
+       * c-objc-common.h (LANG_HOOKS_TREE_SIZE): Redefine.
+
 2023-11-02  Martin Uecker  <uecker@tugraz.at>
 
        PR c/112347
index 69744ba919398ca0a18b54f729d940b0df196259..3c216e67474567fb8a39925838b91c433d35bd34 100644 (file)
@@ -1,3 +1,18 @@
+2023-11-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * parser.h (struct cp_parser): Adjust comment on omp_attrs_forbidden_p
+       member.
+       * parser.cc (cp_parser_omp_section_scan): Allow __directive__ spelling.
+
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * call.cc: Update for changes to diagnostic_context.
+       * class.cc: Likewise.
+       * decl.cc: Likewise.
+       * error.cc: Likewise.
+       * except.cc: Likewise.
+       * pt.cc: Likewise.
+
 2023-11-02  Jason Merrill  <jason@redhat.com>
 
        * semantics.cc (nrv_data): Change visited to hash_set.
index b15c2baedde6f8bb65ee0c07aa5bc90da1a9094d..c9e38626d059e9a6cee3ce1972f8984da70bbdd5 100644 (file)
@@ -1,3 +1,9 @@
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * cpp.cc: Update for changes to diagnostic_context.
+       * error.cc: Likewise.
+       * options.cc: Likewise.
+
 2023-11-03  Harald Anlauf  <anlauf@gmx.de>
 
        PR fortran/97245
index e7aa7e25819125ecfda15dc9056ce737d6c6cbb4..f8f332fdad17daa93e134fb535399324a451a465 100644 (file)
@@ -1,3 +1,8 @@
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * jit-playback.cc: Update for changes to diagnostic_context.
+       * jit-playback.h: Likewise.
+
 2023-10-25  Vibhav Pant  <vibhavp@gmail.com>
 
        * jit-recording.cc (recording::global::write_to_dump): Fix
index 1f8f400f4a1ccd711aa5784ceacff898fc05b861..fe3bd6736f398f6823e419c38d7ebb05eac71b8c 100644 (file)
@@ -1,3 +1,9 @@
+2023-11-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * objc-act.h (objc_common_tree_size): Remove.
+       * objc-act.cc (objc_common_tree_size): Remove.
+       * objc-lang.cc (LANG_HOOKS_TREE_SIZE): Remove.
+
 2023-10-23  Andrew Pinski  <pinskia@gmail.com>
 
        * objc-gnu-runtime-abi-01.cc (build_objc_method_call): Allow
index d6fd39d4253f6522b76653eba9054b7df0a25790..e60aa6ce850d554759028cd7bb80cabce526c1d6 100644 (file)
@@ -1,3 +1,38 @@
+2023-11-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/gomp/attrs-19.c: New test.
+       * gcc.dg/gomp/attrs-20.c: New test.
+       * gcc.dg/gomp/attrs-21.c: New test.
+
+2023-11-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/gomp/attrs-1.c: New test.
+       * gcc.dg/gomp/attrs-2.c: New test.
+       * gcc.dg/gomp/attrs-3.c: New test.
+       * gcc.dg/gomp/attrs-4.c: New test.
+       * gcc.dg/gomp/attrs-5.c: New test.
+       * gcc.dg/gomp/attrs-6.c: New test.
+       * gcc.dg/gomp/attrs-7.c: New test.
+       * gcc.dg/gomp/attrs-8.c: New test.
+       * gcc.dg/gomp/attrs-9.c: New test.
+       * gcc.dg/gomp/attrs-10.c: New test.
+       * gcc.dg/gomp/attrs-11.c: New test.
+       * gcc.dg/gomp/attrs-12.c: New test.
+       * gcc.dg/gomp/attrs-13.c: New test.
+       * gcc.dg/gomp/attrs-14.c: New test.
+       * gcc.dg/gomp/attrs-15.c: New test.
+       * gcc.dg/gomp/attrs-16.c: New test.
+       * gcc.dg/gomp/attrs-17.c: New test.
+       * gcc.dg/gomp/attrs-18.c: New test.
+       * g++.dg/gomp/attrs-2.C: Enable for c++11 rather than just
+       c++17.  Avoid using omp : syntax for c++11, c++14 and c.
+
+2023-11-04  David Malcolm  <dmalcolm@redhat.com>
+
+       * gcc.dg/plugin/diagnostic_group_plugin.c: Update for changes to
+       diagnostic_context.
+       * gcc.dg/plugin/diagnostic_plugin_test_text_art.c: Likewise.
+
 2023-11-03  Martin Uecker  <uecker@tugraz.at>
 
        PR c/98541
index 538d20600113b839117ea3c1a9ca273d5279ccfa..fc9cb2f9554449d8a263fa4ff1765ef81c567271 100644 (file)
@@ -1,3 +1,24 @@
+2023-11-04  Feng Jisen  <J1senn@outlook.com>
+
+       * include/bits/utility.h (_Nth_type): Remove redundant partial
+       specialization.
+
+2023-11-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/110133
+       * include/std/system_error (system_error::system_error): Group
+       arguments so that concatenation can reuse rvalue's capacity.
+       * src/c++11/system_error.cc (strerror_string): New function.
+       [_GLIBCXX_HAVE_STRERROR_R] (use_strerror_result): New functions.
+       (generic_error_category::message): Use strerror_string.
+       (system_error_category::message): Likewise.
+
+2023-11-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/xml/manual/appendix_contributing.xml: Replace example that
+       uses a BADNAME.
+       * doc/html/manual/source_code_style.html: Regenerate.
+
 2023-11-02  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/112314
This page took 0.132582 seconds and 5 git commands to generate.