This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 91bac9fed5d libstdc++: Fix range access for empty std::valarray [PR103022] new bd5e882cf6e diagnostics: escape non-ASCII source bytes for certain diagnostics
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/c-family/c-lex.c | 6 +- gcc/common.opt | 13 + gcc/diagnostic-format-json.cc | 3 + gcc/diagnostic-show-locus.c | 580 ++++++++++++++++++--- gcc/diagnostic.c | 10 +- gcc/diagnostic.h | 18 + gcc/doc/invoke.texi | 43 +- gcc/input.c | 62 ++- gcc/input.h | 7 +- gcc/opts.c | 4 + gcc/selftest.c | 15 + gcc/selftest.h | 2 + .../c-c++-common/diagnostic-format-json-1.c | 1 + .../c-c++-common/diagnostic-format-json-2.c | 1 + .../c-c++-common/diagnostic-format-json-3.c | 1 + .../c-c++-common/diagnostic-format-json-4.c | 2 + .../c-c++-common/diagnostic-format-json-5.c | 1 + gcc/testsuite/gcc.dg/cpp/warn-normalized-4-bytes.c | 21 + .../gcc.dg/cpp/warn-normalized-4-unicode.c | 19 + gcc/testsuite/gcc.dg/encoding-issues-bytes.c | Bin 0 -> 595 bytes gcc/testsuite/gcc.dg/encoding-issues-unicode.c | Bin 0 -> 613 bytes .../gfortran.dg/diagnostic-format-json-1.F90 | 1 + .../gfortran.dg/diagnostic-format-json-2.F90 | 1 + .../gfortran.dg/diagnostic-format-json-3.F90 | 1 + libcpp/charset.c | 63 ++- libcpp/errors.c | 82 ++- libcpp/include/cpplib.h | 76 ++- libcpp/include/line-map.h | 13 + libcpp/internal.h | 23 + libcpp/lex.c | 38 +- libcpp/line-map.c | 3 +- 31 files changed, 942 insertions(+), 168 deletions(-) create mode 100644 gcc/testsuite/gcc.dg/cpp/warn-normalized-4-bytes.c create mode 100644 gcc/testsuite/gcc.dg/cpp/warn-normalized-4-unicode.c create mode 100644 gcc/testsuite/gcc.dg/encoding-issues-bytes.c create mode 100644 gcc/testsuite/gcc.dg/encoding-issues-unicode.c