doc: Update -fchar8_t documentation
authorMarek Polacek <polacek@redhat.com>
Tue, 7 Feb 2023 16:21:37 +0000 (11:21 -0500)
committerMarek Polacek <polacek@redhat.com>
Tue, 7 Feb 2023 16:23:46 +0000 (11:23 -0500)
commit8bc87173003a879e9231cad66d7befa9ca7461f6
tree221d1e935059a77870237b8ff114925473518afa
parentf661c0bb6371f355966a67b5ce71398e80792948
doc: Update -fchar8_t documentation

Since C++20 P2513R4, char8_t Compatibility and Portability Fix it is
no longer true that

  char ca[] = u8"xx";

causes an error so adjust the example for -fchar8_t.

gcc/ChangeLog:

* doc/invoke.texi: Update -fchar8_t documentation.
gcc/doc/invoke.texi