]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 26 Mar 2023 00:16:45 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 26 Mar 2023 00:16:45 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libcpp/ChangeLog

index b732fa6d2c9c9a187a1168ed935106b300d4e343..7723d435b5cde09aee82518b9922992cd96c1bad 100644 (file)
@@ -1,3 +1,18 @@
+2023-03-25  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/109098
+       * diagnostic-format-sarif.cc (read_until_eof): Delete.
+       (maybe_read_file): Delete.
+       (sarif_builder::maybe_make_artifact_content_object): Use
+       get_source_file_content rather than maybe_read_file.
+       Reject it if it's not valid UTF-8.
+       * input.cc (file_cache_slot::get_full_file_content): New.
+       (get_source_file_content): New.
+       (selftest::check_cpp_valid_utf8_p): New.
+       (selftest::test_cpp_valid_utf8_p): New.
+       (selftest::input_cc_tests): Call selftest::test_cpp_valid_utf8_p.
+       * input.h (get_source_file_content): New prototype.
+
 2023-03-24  David Malcolm  <dmalcolm@redhat.com>
 
        * doc/analyzer.texi (Debugging the Analyzer): Add notes on useful
index 3c8c315bc19de23b5a88d1a2a9c64e5c6b8df462..ba111ba97d17a1ffd8d961b0a5005e42de601d5f 100644 (file)
@@ -1 +1 @@
-20230325
+20230326
index 0d7cbfdf8c0ddec53fc9a8447f9c4f557d1bed3b..e93eeb51129ac69a075bff4552f7b8ac1cdf250b 100644 (file)
@@ -1,3 +1,8 @@
+2023-03-25  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/104321
+       * trans-decl.cc (gfc_conv_cfi_to_gfc): Remove dead code.
+
 2023-03-24  Harald Anlauf  <anlauf@gmx.de>
 
        * expr.cc (free_expr0): Free also BOZ strings as part of an expression.
index 27cbce430b8b54360cd98840c3dc143799a75268..6de4b3f3be1f004d1c09f77466ad08c37c71c5ad 100644 (file)
@@ -1,3 +1,28 @@
+2023-03-25  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/109098
+       * c-c++-common/diagnostic-format-sarif-file-1.c: Add
+       verify-sarif-file directive.
+       * c-c++-common/diagnostic-format-sarif-file-2.c: Likewise.
+       * c-c++-common/diagnostic-format-sarif-file-3.c: Likewise.
+       * c-c++-common/diagnostic-format-sarif-file-4.c: Likewise.
+       * c-c++-common/diagnostic-format-sarif-file-Wbidi-chars.c: New
+       test case, adapted from Wbidi-chars-1.c.
+       * c-c++-common/diagnostic-format-sarif-file-bad-utf8-pr109098-1.c:
+       New test case.
+       * c-c++-common/diagnostic-format-sarif-file-bad-utf8-pr109098-2.c:
+       New test case.
+       * c-c++-common/diagnostic-format-sarif-file-bad-utf8-pr109098-3.c:
+       New test case, adapted from cpp/Winvalid-utf8-1.c.
+       * c-c++-common/diagnostic-format-sarif-file-valid-CP850.c: New
+       test case, adapted from gcc.dg/diagnostic-input-charset-1.c.
+       * gcc.dg/plugin/crash-test-ice-sarif.c: Add verify-sarif-file
+       directive.
+       * gcc.dg/plugin/crash-test-write-though-null-sarif.c: Likewise.
+       * gcc.dg/plugin/diagnostic-test-paths-5.c: Likewise.
+       * lib/scansarif.exp (verify-sarif-file): New procedure.
+       * lib/verify-sarif-file.py: New support script.
+
 2023-03-24  Patrick Palka  <ppalka@redhat.com>
 
        PR c++/106969
index e1410129679e0e6cd205fffcd8b341e3959de017..8510dc20bed9213388c04c63b81276e85e47e71e 100644 (file)
@@ -1,3 +1,9 @@
+2023-03-25  David Malcolm  <dmalcolm@redhat.com>
+
+       PR analyzer/109098
+       * charset.cc (cpp_valid_utf8_p): New function.
+       * include/cpplib.h (cpp_valid_utf8_p): New prototype.
+
 2023-03-16  Jakub Jelinek  <jakub@redhat.com>
 
        * makeucnid.cc (write_copyright): Update Unicode copyright years