This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C++: Fix PR86083
- From: Jason Merrill <jason at redhat dot com>
- To: Andreas Krebbel <krebbel at linux dot ibm dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 8 Jul 2018 22:44:39 +1000
- Subject: Re: [PATCH] C++: Fix PR86083
- References: <20180620114107.11570-1-krebbel@linux.vnet.ibm.com> <d4471ad1-561f-4b25-5389-e3494a09b2fd@linux.ibm.com>
On Fri, Jul 6, 2018 at 5:20 PM, Andreas Krebbel <krebbel@linux.ibm.com> wrote:
> On 06/20/2018 01:41 PM, Andreas Krebbel wrote:
>> When turning a user-defined numerical literal into an operator
>> invocation the literal needs to be translated to the execution
>> character set.
>>
>> Bootstrapped and regtested on s390x. x86_64 still running.
>> Ok to apply if x86_64 is clean?
>>
>> Bye,
>>
>> -Andreas-
>>
>> gcc/cp/ChangeLog:
>>
>> 2018-06-20 Andreas Krebbel <krebbel@linux.ibm.com>
>>
>> PR C++/86082
>> * parser.c (make_char_string_pack):
>> (cp_parser_userdef_numeric_literal):
>>
>> gcc/testsuite/ChangeLog:
>>
>> 2018-06-20 Andreas Krebbel <krebbel@linux.ibm.com>
>>
>> PR C++/86082
>> * g++.dg/pr86082.C: New test.
>
> I've tested the patch also on GCC 7 and 8 branch. Ok to apply there as well?
Hmm, it seems safe enough, but also seems like a change with a limited
audience. Would it work for you to include the patch just in your
builds of GCC 7 and 8?
Jason