This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH to fix ext/utf8-2.C with -std=c++2a
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jason Merrill <jason at redhat dot com>
- Date: Mon, 20 May 2019 12:23:42 -0400
- Subject: Re: C++ PATCH to fix ext/utf8-2.C with -std=c++2a
- References: <20190520161818.GI7979@redhat.com>
On Mon, May 20, 2019 at 12:18:18PM -0400, Marek Polacek wrote:
> This test fails in C++2a since r271338, because the types in the "aka" differ:
> in C++17 and below we print:
> {aka 'const char [3]'}
> while in C++2a:
> {aka 'const char8_t [3]'}
>
> We can make the regexp accept both.
...because we'll print "char8_t" in other modes too, with -fchar8_t.
Marek