]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 4 Oct 2024 00:17:32 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 4 Oct 2024 00:17:32 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index a7c2fff81e5c3670a0ea3979b2baafbeda7a88fa..1c84a973e5d213d469ba48097d8c5220c3b02377 100644 (file)
@@ -1,3 +1,95 @@
+2024-10-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/aarch64/aarch64.h (WIDEST_HARDWARE_FP_SIZE): Define to 64.
+
+2024-10-03  Jason Merrill  <jason@redhat.com>
+
+       * doc/invoke.texi: Explicit -Wdeprecated enables more warnings.
+
+2024-10-03  Jason Merrill  <jason@redhat.com>
+
+       * doc/invoke.texi: Document -Wdeprecated-literal-operator.
+
+2024-10-03  Richard Biener  <rguenther@suse.de>
+
+       * tree-vect-loop.cc (vectorizable_induction): Initialize
+       vec_init.
+
+2024-10-03  Andrew Pinski  <quic_apinski@quicinc.com>
+
+       PR target/116927
+       * config/aarch64/aarch64-early-ra.cc (early_ra::is_dead_insn): Insns
+       that throw are not dead with -fno-delete-dead-exceptions.
+
+2024-10-03  David Malcolm  <dmalcolm@redhat.com>
+
+       PR other/116301
+       * common.opt (sarif-file-2.2-prerelease): New value for
+       -fdiagnostics-format=.
+       * diagnostic-format-sarif.cc
+       (sarif_location_manager::sarif_location_manager): Move
+       initialization of m_related_locations_arr here from sarif_result's
+       ctor.
+       (sarif_location_manager::add_related_location): Implement for
+       base class, taking sarif_result's implementation.  Add "builder"
+       param.
+       (sarif_location_manager::m_related_locations_arr): Move here from
+       class sarif_result.
+       (class sarif_result): Move m_related_locations_arr field and
+       add_related_location vfunc to class sarif_location_manager.
+       (sarif_builder::get_version): New accessor.
+       (sarif_builder::m_version): New field.
+       (sarif_invocation::add_notification_for_ice): Call
+       process_worklist on the notification for SARIF 2.2 and later.
+       (sarif_location_manager::process_worklist_item): Pass builder to
+       calls to add_related_location.
+       (sarif_result::on_nested_diagnostic): Likewise.
+       (sarif_result::on_diagram): Likewise.
+       (sarif_ice_notification::add_related_location): Add builder param.
+       For SARIF 2.2 and later chain up to base class impl so that
+       notifications get related locations.
+       (sarif_builder::sarif_builder): Add "version" param.
+       (SARIF_SCHEMA): Delete in favor of...
+       (sarif_version_to_url): New function.
+       (SARIF_VERSION): Delete in favor of...
+       (sarif_version_to_property): New function.
+       (make_top_level_object): Update to use m_version for "$schema" and
+       "version".
+       (sarif_output_format::sarif_output_format): Add "version" param.
+       (sarif_stream_output_format::sarif_stream_output_format):
+       Likewise.
+       (sarif_file_output_format::sarif_file_output_format): Likewise.
+       (diagnostic_output_format_init_sarif_stderr): Likewise.
+       (diagnostic_output_format_init_sarif_file): Likewise.
+       (diagnostic_output_format_init_sarif_stream): Likewise.
+       (selftest::test_sarif_diagnostic_context): Likewise.
+       (selftest::test_make_location_object): Likewise.
+       (selftest::test_simple_log): Likewise.  Update schema and version
+       tests accordingly.
+       (selftest::test_simple_log_2): Add "version" param.
+       (selftest::test_message_with_embedded_link): Likewise.
+       (selftest::run_tests_per_version): New, based on the
+       for_each_line_table_case calls in...
+       (selftest::diagnostic_format_sarif_cc_tests): Add loop over sarif
+       versions.  Replace for_each_line_table_case calls with one
+       call to run_tests_per_version.
+       * diagnostic-format-sarif.h: Include "diagnostic-format.h".
+       (enum class sarif_version): New.
+       (diagnostic_output_format_init_sarif_stderr): Move to here from
+       diagnostic-format.h.  Add "version" param.
+       (diagnostic_output_format_init_sarif_file): Likewise.
+       (diagnostic_output_format_init_sarif_stream): Likewise.
+       * diagnostic-format.h: Include "diagnostic.h".
+       (diagnostic_output_format_init_sarif_stderr): Move from here to
+       diagnostic-format-sarif.h.
+       * diagnostic.cc: Define INCLUDE_MEMORY.
+       Include "diagnostic-format-sarif.h".
+       (diagnostic_output_format_init): Pass sarif_version::v2_1_0 to
+       existing SARIF options.
+       Add case DIAGNOSTICS_OUTPUT_FORMAT_SARIF_FILE_2_2_PRERELEASE.
+       * diagnostic.h (enum diagnostics_output_format): Add
+       DIAGNOSTICS_OUTPUT_FORMAT_SARIF_FILE_2_2_PRERELEASE.
+
 2024-10-02  Andrew Pinski  <quic_apinski@quicinc.com>
 
        PR tree-optimization/116098
index aab92d459f73c276dfbbf2ed319ffef115ca2280..ec7372fbdf8f087748a4363003af54990cb24296 100644 (file)
@@ -1 +1 @@
-20241003
+20241004
index c314d851c3c427953bbf6a3277406d2d38fd592f..74e5c9badaaeb949af30bc68bd5161be68456119 100644 (file)
@@ -1,3 +1,14 @@
+2024-10-03  Jason Merrill  <jason@redhat.com>
+
+       * c-opts.cc (c_common_post_options): Explicit -Wdeprecated enables
+       deprecations from later standards.
+
+2024-10-03  Jason Merrill  <jason@redhat.com>
+
+       * c.opt: Add -Wdeprecated-literal-operator.
+       * c-opts.cc (c_common_post_options): Default on in C++23.
+       * c.opt.urls: Regenerate.
+
 2024-10-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR preprocessor/96842
index 9ffca201c683cf25bd902a79d30d6d40c93e13f1..012a2a2d8fdbf7c0830192edf0b73102d7697d81 100644 (file)
@@ -1,3 +1,28 @@
+2024-10-03  Jason Merrill  <jason@redhat.com>
+           Richard Biener  <rguenther@suse.de>
+
+       * pt.cc (coerce_template_parms): Free garbage vecs.
+
+2024-10-03  Jason Merrill  <jason@redhat.com>
+
+       Revert:
+       2024-10-03  Jason Merrill  <jason@redhat.com>
+                   Richard Biener   <rguenther@suse.de>
+
+       * pt.cc (struct free_if_changed_proxy): New.
+       (coerce_template_parms): Use it.
+
+2024-10-03  Jason Merrill  <jason@redhat.com>
+
+       * parser.cc (location_between): New.
+       (cp_parser_operator): Handle -Wdeprecated-literal-operator.
+
+2024-10-03  Jason Merrill  <jason@redhat.com>
+           Richard Biener   <rguenther@suse.de>
+
+       * pt.cc (struct free_if_changed_proxy): New.
+       (coerce_template_parms): Use it.
+
 2024-10-02  Simon Martin  <simon@nasilyan.com>
 
        PR c++/116722
index 693524d21c768af17db41437c7615bbc54dd6ee2..72b5af01021cf3685470de76f20e8452e1cdf859 100644 (file)
@@ -1,3 +1,110 @@
+2024-10-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/specs/size_clause6.ads: New test.
+
+2024-10-03  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/cpp0x/udlit-string-literal.h
+       * g++.dg/cpp0x/Wliteral-suffix2.C
+       * g++.dg/cpp0x/constexpr-55708.C
+       * g++.dg/cpp0x/gnu_fext-numeric-literals.C
+       * g++.dg/cpp0x/gnu_fno-ext-numeric-literals.C
+       * g++.dg/cpp0x/pr51420.C
+       * g++.dg/cpp0x/pr60209-neg.C
+       * g++.dg/cpp0x/pr60209.C
+       * g++.dg/cpp0x/pr61038.C
+       * g++.dg/cpp0x/std_fext-numeric-literals.C
+       * g++.dg/cpp0x/std_fno-ext-numeric-literals.C
+       * g++.dg/cpp0x/udlit-addr.C
+       * g++.dg/cpp0x/udlit-args-neg.C
+       * g++.dg/cpp0x/udlit-args.C
+       * g++.dg/cpp0x/udlit-args2.C
+       * g++.dg/cpp0x/udlit-clink-neg.C
+       * g++.dg/cpp0x/udlit-concat-neg.C
+       * g++.dg/cpp0x/udlit-concat.C
+       * g++.dg/cpp0x/udlit-constexpr.C
+       * g++.dg/cpp0x/udlit-cpp98-neg.C
+       * g++.dg/cpp0x/udlit-declare-neg.C
+       * g++.dg/cpp0x/udlit-embed-quote.C
+       * g++.dg/cpp0x/udlit-extended-id-1.C
+       * g++.dg/cpp0x/udlit-extended-id-3.C
+       * g++.dg/cpp0x/udlit-extern-c.C
+       * g++.dg/cpp0x/udlit-friend.C
+       * g++.dg/cpp0x/udlit-general.C
+       * g++.dg/cpp0x/udlit-implicit-conv-neg-char8_t.C
+       * g++.dg/cpp0x/udlit-implicit-conv-neg.C
+       * g++.dg/cpp0x/udlit-inline.C
+       * g++.dg/cpp0x/udlit-mangle.C
+       * g++.dg/cpp0x/udlit-member-neg.C
+       * g++.dg/cpp0x/udlit-namespace.C
+       * g++.dg/cpp0x/udlit-nofunc-neg.C
+       * g++.dg/cpp0x/udlit-nonempty-str-neg.C
+       * g++.dg/cpp0x/udlit-nosuffix-neg.C
+       * g++.dg/cpp0x/udlit-nounder-neg.C
+       * g++.dg/cpp0x/udlit-operator-neg.C
+       * g++.dg/cpp0x/udlit-overflow-neg.C
+       * g++.dg/cpp0x/udlit-overflow.C
+       * g++.dg/cpp0x/udlit-preproc-neg.C
+       * g++.dg/cpp0x/udlit-raw-length.C
+       * g++.dg/cpp0x/udlit-raw-op-string-neg.C
+       * g++.dg/cpp0x/udlit-raw-op.C
+       * g++.dg/cpp0x/udlit-raw-str.C
+       * g++.dg/cpp0x/udlit-resolve-char8_t.C
+       * g++.dg/cpp0x/udlit-resolve.C
+       * g++.dg/cpp0x/udlit-shadow-neg.C
+       * g++.dg/cpp0x/udlit-string-length.C
+       * g++.dg/cpp0x/udlit-suffix-neg.C
+       * g++.dg/cpp0x/udlit-template.C
+       * g++.dg/cpp0x/udlit-tmpl-arg-neg.C
+       * g++.dg/cpp0x/udlit-tmpl-arg-neg2.C
+       * g++.dg/cpp0x/udlit-tmpl-arg.C
+       * g++.dg/cpp0x/udlit-tmpl-parms-neg.C
+       * g++.dg/cpp0x/udlit-tmpl-parms.C
+       * g++.dg/cpp1y/pr57640.C
+       * g++.dg/cpp1y/pr88872.C
+       * g++.dg/cpp26/unevalstr1.C
+       * g++.dg/cpp2a/concepts-pr60391.C
+       * g++.dg/cpp2a/consteval-prop21.C
+       * g++.dg/cpp2a/nontype-class6.C
+       * g++.dg/cpp2a/udlit-class-nttp-ctad-neg.C
+       * g++.dg/cpp2a/udlit-class-nttp-ctad-neg2.C
+       * g++.dg/cpp2a/udlit-class-nttp-ctad.C
+       * g++.dg/cpp2a/udlit-class-nttp-neg.C
+       * g++.dg/cpp2a/udlit-class-nttp-neg2.C
+       * g++.dg/cpp2a/udlit-class-nttp.C
+       * g++.dg/ext/is_convertible2.C
+       * g++.dg/lookup/pr87269.C
+       * g++.dg/cpp0x/udlit_system_header: Adjust for C++23 deprecated
+       operator "" _suffix.
+       * g++.dg/DRs/dr2521.C: New test.
+
+2024-10-03  Georg-Johann Lay  <avr@gjlay.de>
+
+       * gcc.dg/c23-stdarg-9.c (struct S) [AVR]: Only use int a[500].
+
+2024-10-03  Andrew Pinski  <quic_apinski@quicinc.com>
+
+       PR target/116927
+       * g++.dg/torture/pr116927-1.C: New test.
+
+2024-10-03  David Malcolm  <dmalcolm@redhat.com>
+
+       PR other/116301
+       * gcc.dg/plugin/crash-test-ice-in-header-sarif-2.1.c: New test.
+       * gcc.dg/plugin/crash-test-ice-in-header-sarif-2.2.c: New test.
+       * gcc.dg/plugin/crash-test-ice-in-header-sarif-2_1.py: Support
+       script for new test.
+       * gcc.dg/plugin/crash-test-ice-in-header-sarif-2_2.py: Likewise.
+       * gcc.dg/plugin/crash-test-ice-in-header.h: New header.
+       * gcc.dg/plugin/plugin.exp: Add the new tests.
+       * lib/sarif-schema-2.2-prerelease-2024-08-08.json: New schema
+       file.
+       * lib/scansarif.exp (verify-sarif-file): Add optional argument for
+       specifying which version of the schema to validate against,
+       supporting "2.1" and "2.2", defaulting to the former.
+       Update the test name to capture the version of the schema tested
+       against.
+
 2024-10-02  Andrew Pinski  <quic_apinski@quicinc.com>
 
        PR tree-optimization/116098
index d7276ffa19c97edd8f1b8edb36296490b5775e6f..8962d9a3a4ffa6cca29f2202d3a01c38a54b4041 100644 (file)
@@ -1,3 +1,32 @@
+2024-10-03  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/unicode.h (__unicode::__is_incb_linker): Use
+       _GLIBCXX_STD_A namespace for std::find.
+
+2024-10-03  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/116944
+       * include/parallel/base.h: Move diagnostic pragmas earlier.
+
+2024-10-03  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/locale_facets_nonio.tcc (money_put::__do_get):
+       Ignore -Wformat warning for __ibm128 arguments.
+       * include/tr1/tuple (ignore): Ignore -Wunused warning.
+
+2024-10-03  François Dumont  <fdumont@gcc.gnu.org>
+
+       * include/bits/hashtable_policy.h (_NodeBuilder<>::_S_build): Remove
+       const qualification on _NodeGenerator instance.
+       (_ReuseOrAllocNode<>::operator()(_Args&&...)): Remove const qualification.
+       (_ReuseOrAllocNode<>::_M_nodes): Remove mutable.
+       (_Insert_base<>::_M_insert_range): Remove _NodeGetter const qualification.
+       (_Hash_code_base<>::_M_bucket_index(const _Hash_node_value<>&, size_t)):
+       Simplify noexcept declaration, we already static_assert that _RangeHash functor
+       is noexcept.
+       * include/bits/hashtable.h: Rework comments. Remove const qualifier on
+       _NodeGenerator& arguments.
+
 2024-10-02  Jonathan Wakely  <jwakely@redhat.com>
 
        * config/locale/dragonfly/time_members.cc