diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-09-10 00:22:41 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-09-10 00:22:41 +0000 |
commit | 852cff82689cba4848865944a88f0d07285edde0 (patch) | |
tree | 4a06ac6150fd47fb522e184ac0197630a9ee44a4 | |
parent | 89991f31c5ded21179b12a9f4063c2b8fabc2e3b (diff) | |
download | gcc-852cff82689cba4848865944a88f0d07285edde0.zip gcc-852cff82689cba4848865944a88f0d07285edde0.tar.gz gcc-852cff82689cba4848865944a88f0d07285edde0.tar.bz2 |
Daily bump.
-rw-r--r-- | gcc/ChangeLog | 333 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/analyzer/ChangeLog | 55 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 15 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 19 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 30 | ||||
-rw-r--r-- | gcc/d/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 28 | ||||
-rw-r--r-- | gcc/jit/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 84 |
11 files changed, 588 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5fba2d..23538dd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,336 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * ipa-pure-const.cc: Replace include of "opts.h" with + "opts-diagnostic.h". + (suggest_attribute): Convert param from int to + diagnostic_option_id. + * lto-wrapper.cc (class lto_diagnostic_option_manager): Use + diagnostic_option_id rather than "int". + * opts-common.cc + (compiler_diagnostic_option_manager::option_enabled_p): Likewise. + * opts-diagnostic.h (class gcc_diagnostic_option_manager): + Likewise. + (class compiler_diagnostic_option_manager): Likewise. + * opts.cc (compiler_diagnostic_option_manager::make_option_name): + Likewise. + (gcc_diagnostic_option_manager::make_option_url): Likewise. + * substring-locations.cc + (format_string_diagnostic_t::emit_warning_n_va): Likewise. + (format_string_diagnostic_t::emit_warning_va): Likewise. + (format_string_diagnostic_t::emit_warning): Likewise. + (format_string_diagnostic_t::emit_warning_n): Likewise. + * substring-locations.h + (format_string_diagnostic_t::emit_warning_va): Likewise. + (format_string_diagnostic_t::emit_warning_n_va): Likewise. + (format_string_diagnostic_t::emit_warning): Likewise. + (format_string_diagnostic_t::emit_warning_n): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * diagnostic-core.h (struct diagnostic_option_id): New. + (warning): Use it rather than "int" for param. + (warning_n): Likewise. + (warning_at): Likewise. + (warning_meta): Likewise. + (pedwarn): Likewise. + (permerror_opt): Likewise. + (emit_diagnostic): Likewise. + (emit_diagnostic_valist): Likewise. + (emit_diagnostic_valist_meta): Likewise. + * diagnostic-format-json.cc + (json_output_format::on_report_diagnostic): Update for renaming of + diagnostic_info field. + * diagnostic-format-sarif.cc (sarif_builder::make_result_object): + Likewise. + (make_reporting_descriptor_object_for_warning): Likewise. + * diagnostic-format-text.cc (print_option_information): Likewise. + * diagnostic-global-context.cc (emit_diagnostic): Use + "diagnostic_option_id option_id" rather than "int opt". + (emit_diagnostic_valist): Likewise. + (emit_diagnostic_valist_meta): Likewise. + (warning): Likewise. + (warning_at): Likewise. + (warning_meta): Likewise. + (warning_n): Likewise. + (pedwarn): Likewise. + (permerror_opt): Likewise. + * diagnostic.cc (diagnostic_set_info_translated): Update for + renaming of diagnostic_info field. + (diagnostic_option_classifier::classify_diagnostic): Use + "diagnostic_option_id option_id" rather than "int opt". + (update_effective_level_from_pragmas): Update for renaming of + diagnostic_info field. + (diagnostic_context::diagnostic_enabled): Likewise. + (diagnostic_context::warning_enabled_at): Use + "diagnostic_option_id option_id" rather than "int opt". + (diagnostic_context::diagnostic_impl): Likewise. + (diagnostic_context::diagnostic_n_impl): Likewise. + * diagnostic.h (diagnostic_info::diagnostic_info): Update for... + (diagnostic_info::option_index): Rename... + (diagnostic_info::option_id): ...to this. + (class diagnostic_option_manager): Use + "diagnostic_option_id option_id" rather than "int opt" for vfuncs. + (diagnostic_option_classifier): Likewise for member funcs. + (diagnostic_classification_change_t::option): Add comment. + (diagnostic_context::warning_enabled_at): Use + "diagnostic_option_id option_id" rather than "int option_index". + (diagnostic_context::option_unspecified_p): Likewise. + (diagnostic_context::classify_diagnostic): Likewise. + (diagnostic_context::option_enabled_p): Likewise. + (diagnostic_context::make_option_name): Likewise. + (diagnostic_context::make_option_url): Likewise. + (diagnostic_context::diagnostic_impl): Likewise. + (diagnostic_context::diagnostic_n_impl): Likewise. + (diagnostic_override_option_index): Rename... + (diagnostic_set_option_id): ...to this, and update for + diagnostic_info field renaming. + (diagnostic_classify_diagnostic): Use "diagnostic_option_id" + rather than "int". + (warning_enabled_at): Likewise. + (option_unspecified_p): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * diagnostic.cc (diagnostic_context::initialize): Replace + m_options_callbacks with m_option_mgr. + (diagnostic_context::set_option_hooks): Replace with... + (diagnostic_context::set_option_manager): ...this. + * diagnostic.h (diagnostic_option_enabled_cb): Delete. + (diagnostic_make_option_name_cb): Delete. + (diagnostic_make_option_url_cb): Delete. + (class diagnostic_option_manager): New. + (diagnostic_manager::option_enabled_p): Convert from using + m_option_callbacks to m_option_mgr. + (diagnostic_manager::make_option_name): Likewise. + (diagnostic_manager::make_option_url): Likewise. + (diagnostic_manager::set_option_hooks): Replace with... + (diagnostic_manager::set_option_manager): ...this. + (diagnostic_manager::get_lang_mask): Update for field changes. + (diagnostic_manager::m_option_callbacks): Replace with... + (diagnostic_manager::m_option_mgr): ...this and... + (diagnostic_manager::m_lang_mask): ...this. + * lto-wrapper.cc (class lto_diagnostic_option_manager): New. + (main): Port from option hooks to diagnostic_option_manager. + * opts-common.cc: Include "opts-diagnostic.h". + (compiler_diagnostic_option_manager::option_enabled_p): New. + * opts-diagnostic.h (option_name): Drop decl. + (get_option_url): Drop decl. + (class gcc_diagnostic_option_manager): New. + (class compiler_diagnostic_option_manager): New. + * opts.cc (option_name): Convert to... + (compiler_diagnostic_option_manager::make_option_name): ...this. + (get_option_url): Convert to... + (gcc_diagnostic_option_manager::make_option_url): ...this. + * toplev.cc (general_init): Port from option hooks to + diagnostic_option_manager. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * attribs.cc (decls_mismatched_attributes): Rename + diagnostic_context's "printer" field to "m_printer". + (attr_access::array_as_string): Likewise. + * diagnostic-format-json.cc + (json_output_format::on_report_diagnostic): Likewise. + (diagnostic_output_format_init_json): Likewise. + * diagnostic-format-sarif.cc + (sarif_result::on_nested_diagnostic): Likewise. + (sarif_ice_notification): Likewise. + (sarif_builder::on_report_diagnostic): Likewise. + (sarif_builder::make_result_object): Likewise. + (sarif_builder::make_location_object): Likewise. + (sarif_builder::make_message_object_for_diagram): Likewise. + (diagnostic_output_format_init_sarif): Likewise. + * diagnostic-format-text.cc + (diagnostic_text_output_format::~diagnostic_text_output_format): + Likewise. + (diagnostic_text_output_format::on_report_diagnostic): Likewise. + (diagnostic_text_output_format::on_diagram): Likewise. + (diagnostic_text_output_format::print_any_cwe): Likewise. + (diagnostic_text_output_format::print_any_rules): Likewise. + (diagnostic_text_output_format::print_option_information): + Likewise. + * diagnostic-format.h (diagnostic_output_format::get_printer): + New. + * diagnostic-global-context.cc (verbatim): Rename + diagnostic_context's "printer" field to "m_printer". + * diagnostic-path.cc (path_label::get_text): Likewise. + (print_path_summary_as_text): Likewise. + (diagnostic_context::print_path): Likewise. + (selftest::test_empty_path): Likewise. + (selftest::test_intraprocedural_path): Likewise. + (selftest::test_interprocedural_path_1): Likewise. + (selftest::test_interprocedural_path_2): Likewise. + (selftest::test_recursion): Likewise. + (selftest::test_control_flow_1): Likewise. + (selftest::test_control_flow_2): Likewise. + (selftest::test_control_flow_3): Likewise. + (assert_cfg_edge_path_streq): Likewise. + (selftest::test_control_flow_5): Likewise. + (selftest::test_control_flow_6): Likewise. + * diagnostic-show-locus.cc (layout::layout): Likewise. + (selftest::test_layout_x_offset_display_utf8): Likewise. + (selftest::test_layout_x_offset_display_tab): Likewise. + (selftest::test_diagnostic_show_locus_unknown_location): Likewise. + (selftest::test_one_liner_simple_caret): Likewise. + (selftest::test_one_liner_no_column): Likewise. + (selftest::test_one_liner_caret_and_range): Likewise. + (selftest::test_one_liner_multiple_carets_and_ranges): Likewise. + (selftest::test_one_liner_fixit_insert_before): Likewise. + (selftest::test_one_liner_fixit_insert_after): Likewise. + (selftest::test_one_liner_fixit_remove): Likewise. + (selftest::test_one_liner_fixit_replace): Likewise. + (selftest::test_one_liner_fixit_replace_non_equal_range): + Likewise. + (selftest::test_one_liner_fixit_replace_equal_secondary_range): + Likewise. + (selftest::test_one_liner_fixit_validation_adhoc_locations): + Likewise. + (selftest::test_one_liner_many_fixits_1): Likewise. + (selftest::test_one_liner_many_fixits_2): Likewise. + (selftest::test_one_liner_labels): Likewise. + (selftest::test_one_liner_simple_caret_utf8): Likewise. + (selftest::test_one_liner_caret_and_range_utf8): Likewise. + (selftest::test_one_liner_multiple_carets_and_ranges_utf8): + Likewise. + (selftest::test_one_liner_fixit_insert_before_utf8): Likewise. + (selftest::test_one_liner_fixit_insert_after_utf8): Likewise. + (selftest::test_one_liner_fixit_remove_utf8): Likewise. + (selftest::test_one_liner_fixit_replace_utf8): Likewise. + (selftest::test_one_liner_fixit_replace_non_equal_range_utf8): + Likewise. + (selftest::test_one_liner_fixit_replace_equal_secondary_range_utf8): + Likewise. + (selftest::test_one_liner_fixit_validation_adhoc_locations_utf8): + Likewise. + (selftest::test_one_liner_many_fixits_1_utf8): Likewise. + (selftest::test_one_liner_many_fixits_2_utf8): Likewise. + (selftest::test_one_liner_labels_utf8): Likewise. + (selftest::test_one_liner_colorized_utf8): Likewise. + (selftest::test_add_location_if_nearby): Likewise. + (selftest::test_diagnostic_show_locus_fixit_lines): Likewise. + (selftest::test_overlapped_fixit_printing): Likewise. + (selftest::test_overlapped_fixit_printing_utf8): Likewise. + (selftest::test_overlapped_fixit_printing_2): Likewise. + (selftest::test_fixit_insert_containing_newline): Likewise. + (selftest::test_fixit_insert_containing_newline_2): Likewise. + (selftest::test_fixit_replace_containing_newline): Likewise. + (selftest::test_fixit_deletion_affecting_newline): Likewise. + (selftest::test_tab_expansion): Likewise. + (selftest::test_escaping_bytes_1): Likewise. + (selftest::test_escaping_bytes_2): Likewise. + (selftest::test_line_numbers_multiline_range): Likewise. + * diagnostic.cc (file_name_as_prefix): Likewise. + (diagnostic_set_caret_max_width): Likewise. + (diagnostic_context::initialize): Likewise. + (diagnostic_context::color_init): Likewise. + (diagnostic_context::urls_init): Likewise. + (diagnostic_context::finish): Likewise. + (diagnostic_context::get_location_text): Likewise. + (diagnostic_build_prefix): Likewise. + (diagnostic_context::report_current_module): Likewise. + (default_diagnostic_starter): Likewise. + (default_diagnostic_start_span_fn): Likewise. + (default_diagnostic_finalizer): Likewise. + (diagnostic_context::report_diagnostic): Likewise. + (diagnostic_append_note): Likewise. + (diagnostic_context::error_recursion): Likewise. + (fancy_abort): Likewise. + * diagnostic.h (diagnostic_context::set_show_highlight_colors): + Likewise. + (diagnostic_context::printer): Rename to... + (diagnostic_context::m_printer): ...this. + (diagnostic_format_decoder): Rename diagnostic_context's "printer" + field to "m_printer". + (diagnostic_prefixing_rule): Likewise. + (diagnostic_ready_p): Likewise. + * gimple-ssa-warn-access.cc (pass_waccess::maybe_warn_memmodel): + Likewise. + * langhooks.cc (lhd_print_error_function): Likewise. + * lto-wrapper.cc (print_lto_docs_link): Likewise. + * opts-global.cc (init_options_once): Likewise. + * opts.cc (common_handle_option): Likewise. + * simple-diagnostic-path.cc (simple_diagnostic_path_cc_tests): + Likewise. + * text-art/dump.h (dump_to_file<T>): Likewise. + * toplev.cc (announce_function): Likewise. + (toplev::main): Likewise. + * tree-diagnostic.cc (default_tree_diagnostic_starter): Likewise. + * tree.cc (escaped_string::escape): Likewise. + (selftest::test_escaped_strings): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116603 + * diagnostic-format-sarif.cc (SARIF_SCHEMA): Update URL. + (sarif_builder::maybe_make_region_object): Don't create regions + with startLine <= 0. + (sarif_builder::maybe_make_region_object_for_context): Likewise. + +2024-09-09 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/i386.md (*insvdi_lowpart_1): Use "o" constraint + instead of "m" for double-word mode memory operands. + (*add<dwi>3_doubleword_zext): Ditto. + (*addv<dwi>4_doubleword_1): Use "jO" constraint instead of "jM" + for double-word mode memory operands. + +2024-09-09 Andrew Pinski <quic_apinski@quicinc.com> + + PR middle-end/90693 + * internal-fn.cc (expand_POPCOUNT): Handle the second argument + being `-1` for `<= 1`. + * tree-ssa-math-opts.cc (match_single_bit_test): Handle LE/GT + cases. + (math_opts_dom_walker::after_dom_children): Call match_single_bit_test + for LE_EXPR/GT_EXPR also. + +2024-09-09 John David Anglin <danglin@gcc.gnu.org> + + * config/pa/pa.cc (pa_legitimate_address_p): Don't + canonicalize operand order of scaled index addresses. + +2024-09-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/116514 + * tree-ssa-ccp.cc (bit_value_binop): Handle EXACT_DIV_EXPR + like TRUNC_DIV_EXPR. Handle exact division of a signed value + by a power-of-two like a shift. Handle unsigned division by + a power-of-two like a shift. + Handle unsigned TRUNC_MOD_EXPR by power-of-two, handle signed + TRUNC_MOD_EXPR by power-of-two if the result is zero. + +2024-09-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/116647 + * tree-vect-loop.cc (vect_is_simple_reduction): Add missing + check to double reduction detection. + +2024-09-09 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/116601 + * gimple-fold.cc (optimize_memcpy_to_memset): Move + from tree-ssa-ccp.cc and rename. Also return true + if the optimization happened. + (gimple_fold_builtin_memory_op): Call + optimize_memcpy_to_memset. + (fold_stmt_1): Call optimize_memcpy_to_memset for + load/store copies. + * tree-ssa-ccp.cc (optimize_memcpy): Delete. + (pass_fold_builtins::execute): Remove code that + calls optimize_memcpy. + +2024-09-09 Andrew Pinski <quic_apinski@quicinc.com> + + * tree-ssa-phiopt.cc (factor_out_conditional_operation): Move the has_single_use + checks much earlier. Remove redundant check for gimple_assign_cast_p. + Change around the check if the integral consts fits into the new type. + +2024-09-09 Haochen Jiang <haochen.jiang@intel.com> + + PR target/116617 + * doc/invoke.texi: Add meteorlake, raptorlake and lunarlake. + 2024-09-08 H.J. Lu <hjl.tools@gmail.com> PR target/116621 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 94bd479..83b31cd 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240909 +20240910 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index a522013..48826ee 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * gcc-interface/misc.cc (internal_error_function): Rename + diagnostic_context's "printer" field to "m_printer". + 2024-09-05 Eric Botcazou <ebotcazou@adacore.com> * gcc-interface/trans.cc (addressable_p) <COMPONENT_REF>: Add bypass diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 61485d0..d37d315 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,58 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * access-diagram.cc (access_range::dump): Rename + diagnostic_context's "printer" field to "m_printer". + * analyzer-language.cc (on_finish_translation_unit): Likewise. + * analyzer.cc (make_label_text): Likewise. + (make_label_text_n): Likewise. + * call-details.cc (call_details::dump): Likewise. + * call-summary.cc (call_summary::dump): Likewise. + (call_summary_replay::dump): Likewise. + * checker-event.cc (checker_event::debug): Likewise. + * constraint-manager.cc (range::dump): Likewise. + (bounded_range::dump): Likewise. + (bounded_ranges::dump): Likewise. + (constraint_manager::dump): Likewise. + * diagnostic-manager.cc + (diagnostic_manager::emit_saved_diagnostic): Likewise. + * engine.cc (exploded_node::dump): Likewise. + (exploded_path::dump): Likewise. + (run_checkers): Likewise. + * kf-analyzer.cc (kf_analyzer_dump_escaped::impl_call_pre): + Likewise. + * pending-diagnostic.cc (evdesc::event_desc::formatted_print): + Likewise. + * program-point.cc (function_point::print_source_line): Likewise. + (program_point::dump): Likewise. + * program-state.cc (extrinsic_state::dump_to_file): Likewise. + (sm_state_map::dump): Likewise. + (program_state::dump_to_file): Likewise. + * ranges.cc (symbolic_byte_offset::dump): Likewise. + (symbolic_byte_range::dump): Likewise. + * region-model-reachability.cc (reachable_regions::dump): Likewise. + * region-model.cc (region_to_value_map::dump): Likewise. + (region_model::dump): Likewise. + (model_merger::dump): Likewise. + * region.cc (region_offset::dump): Likewise. + (region::dump): Likewise. + * sm-malloc.cc (deallocator_set::dump): Likewise. + (sufficiently_similar_p): Likewise. + * store.cc (uncertainty_t::dump): Likewise. + (binding_key::dump): Likewise. + (binding_map::dump): Likewise. + (binding_cluster::dump): Likewise. + (store::dump): Likewise. + * supergraph.cc (supergraph::dump_dot_to_file): Likewise. + (superedge::dump): Likewise. + * svalue.cc (svalue::dump): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * call-summary.cc + (call_summary_replay::convert_region_from_summary_1): Drop unused + local "summary_cast_reg" + 2024-09-03 David Malcolm <dmalcolm@redhat.com> * analyzer-logging.cc (logger::logger): Prefix all output_buffer diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 3dbed01..4ca7193 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,18 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * c-common.cc (c_option_controlling_cpp_diagnostic): Return + diagnostic_option_id rather than int. + (c_cpp_diagnostic): Update for renaming of + diagnostic_override_option_index to diagnostic_set_option_id. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * c-format.cc (selftest::test_type_mismatch_range_labels): Rename + diagnostic_context's "printer" field to "m_printer". + (selftest::test_type_mismatch_range_labels): Likewise. + * c-opts.cc (c_diagnostic_finalizer): Likewise. + 2024-09-06 Jason Merrill <jason@redhat.com> PR c++/46457 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index a1bc6c8..f6d8365 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,22 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * c-errors.cc (pedwarn_c23): Use "diagnostic_option_id option_id" + rather than "int opt". Update for renaming of diagnostic_info + field. + (pedwarn_c11): Likewise. + (pedwarn_c99): Likewise. + (pedwarn_c90): Likewise. + * c-tree.h (pedwarn_c90): Likewise for decl. + (pedwarn_c99): Likewise. + (pedwarn_c11): Likewise. + (pedwarn_c23): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * c-objc-common.cc (c_initialize_diagnostics): Rename + diagnostic_context's "printer" field to "m_printer". + 2024-09-06 Jason Merrill <jason@redhat.com> PR c++/46457 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index debad0e..8228caf 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,33 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * constexpr.cc (constexpr_error): Update for renaming of + diagnostic_info field. + * cp-tree.h (pedwarn_cxx98): Use "diagnostic_option_id" rather + than "int". + * error.cc (cp_adjust_diagnostic_info): Update for renaming of + diagnostic_info field. + (pedwarn_cxx98): Use "diagnostic_option_id option_id" rather than + "int opt". Update for renaming of diagnostic_info field. + (diagnostic_set_info): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * error.cc (cxx_initialize_diagnostics): Rename + diagnostic_context's "printer" field to "m_printer". + (cxx_print_error_function): Likewise. + (cp_diagnostic_starter): Likewise. + (cp_print_error_function): Likewise. + (print_instantiation_full_context): Likewise. + (print_instantiation_partial_context_line): Likewise. + (maybe_print_constexpr_context): Likewise. + (print_location): Likewise. + (print_constrained_decl_info): Likewise. + (print_concept_check_info): Likewise. + (print_constraint_context_head): Likewise. + (print_requires_expression_info): Likewise. + * module.cc (noisy_p): Likewise. + 2024-09-07 Jason Merrill <jason@redhat.com> * decl.cc (check_redeclaration_exception_specification): Remove diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 9c78661..9cc7291 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,14 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * d-diagnostic.cc (d_diagnostic_report_diagnostic): Update for + renaming of diagnostic_info field. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * d-diagnostic.cc (d_diagnostic_report_diagnostic): Rename + diagnostic_context's "printer" field to "m_printer". + 2024-09-02 Richard Sandiford <richard.sandiford@arm.com> * toir.cc (IRVisitor): Rename ASM_INPUT_P to ASM_BASIC_P. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index ee92963..6e12d3b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,31 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + * cpp.cc (cb_cpp_diagnostic_cpp_option): Convert return type from + "int" to "diagnostic_option_id". + (cb_cpp_diagnostic): Update for renaming of + diagnostic_override_option_index to diagnostic_set_option_id. + * error.cc (gfc_warning): Update for renaming of diagnostic_info + field. + (gfc_warning_now_at): Likewise. + (gfc_warning_now): Likewise. + (gfc_warning_internal): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * error.cc (gfc_clear_pp_buffer): Rename diagnostic_context's + "printer" field to "m_printer". + (gfc_warning): Likewise. + (gfc_diagnostic_build_kind_prefix): Likewise. + (gfc_diagnostic_build_locus_prefix): Likewise. + (gfc_diagnostic_starter): Likewise. + (gfc_diagnostic_starter): Likewise. + (gfc_diagnostic_start_span): Likewise. + (gfc_diagnostic_finalizer): Likewise. + (gfc_warning_check): Likewise. + (gfc_error_opt): Likewise. + (gfc_error_check): Likewise. + 2024-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> * arith.cc (gfc_reduce_unsigned): New function. diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 0df9085..66704b2 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,9 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * jit-playback.cc (add_diagnostic): Rename diagnostic_context's + "printer" field to "m_printer". + 2024-09-02 Richard Sandiford <richard.sandiford@arm.com> * jit-playback.cc (playback::block::add_extended_asm): Rename diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 24ef315..b820e40 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,87 @@ +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116613 + * gcc.dg/plugin/analyzer_cpython_plugin.c (dump_refcnt_info): + Update for renaming of field "printer" to "m_printer". + * gcc.dg/plugin/diagnostic_group_plugin.c + (test_diagnostic_starter): Likewise. + (test_diagnostic_start_span_fn): Likewise. + (test_output_format::on_begin_group): Likewise. + (test_output_format::on_end_group): Likewise. + * gcc.dg/plugin/diagnostic_plugin_test_paths.c: Likewise. + * gcc.dg/plugin/diagnostic_plugin_test_show_locus.c + (custom_diagnostic_finalizer): Likewise. + +2024-09-09 David Malcolm <dmalcolm@redhat.com> + + PR other/116603 + * gcc.dg/plugin/diagnostic-test-metadata-sarif.py (test_basics): + Update expected schema URL. + * gcc.dg/plugin/diagnostic-test-paths-multithreaded-sarif.py: + Likewise. + * gcc.dg/sarif-output/test-include-chain-1.py: Likewise. + * gcc.dg/sarif-output/test-include-chain-2.py: Likewise. + * gcc.dg/sarif-output/test-missing-semicolon.py: Likewise. + * gcc.dg/sarif-output/test-no-diagnostics.py: Likewise. + * gcc.dg/sarif-output/test-werror.py: Likewise. + * lib/sarif-schema-2.1.0.json: Update with copy downloaded from + https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json + +2024-09-09 Andrew Pinski <quic_apinski@quicinc.com> + + PR middle-end/90693 + * gcc.target/aarch64/popcnt-le-1.c: New test. + * gcc.target/aarch64/popcnt-le-2.c: New test. + * gcc.target/aarch64/popcnt-le-3.c: New test. + +2024-09-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/116514 + * gcc.dg/tree-ssa/ssa-ccp-44.c: New testcase. + +2024-09-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/116647 + * gcc.dg/torture/pr116647.c: New testcase. + * gcc.dg/vect/no-scevccp-pr86725-2.c: Adjust expected pattern. + * gcc.dg/vect/no-scevccp-pr86725-4.c: Likewise. + +2024-09-09 Eric Botcazou <ebotcazou@adacore.com> + + PR ada/115250 + * gnat.dg/opt58_pkg.ads: Convert to Unix line ending. + * gnat.dg/opt58.adb: Likewise and pass -gnatws to the compiler. + +2024-09-09 Eric Botcazou <ebotcazou@adacore.com> + + PR ada/115246 + * gnat.dg/alignment14.adb (My_Int2): Delete. + (Arr2): Likewise. + +2024-09-09 Andrew Pinski <quic_apinski@quicinc.com> + + PR tree-optimization/116601 + * gcc.dg/pr78408-1.c: Adjust dump scan to match where + the optimization now happens. + * g++.dg/torture/except-2.C: New test. + +2024-09-09 Richard Biener <rguenther@suse.de> + + * gcc.dg/vect/fast-math-vect-call-2.c: Disable epilogue + vectorization. + +2024-09-09 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/116588 + * gcc.dg/pr116588.c: Remove -DDEBUG from dg-options. + (main): Remove debugging code and simplify. + +2024-09-09 Thomas Schwinge <tschwinge@baylibre.com> + + PR testsuite/116635 + * gcc.dg/opt-ordered-and-nonequal-1.c: Fix re + 'LOGICAL_OP_NON_SHORT_CIRCUIT'. + 2024-09-08 H.J. Lu <hjl.tools@gmail.com> PR target/116621 |