This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, C++, PR65882] Check tf_warning flag in build_new_op_1
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Mikhail Maltsev <maltsevm at gmail dot com>, gcc-patches <gcc-patches at gnu dot org>, Marek Polacek <polacek at redhat dot com>
- Date: Wed, 24 Jun 2015 17:52:53 +0200
- Subject: Re: [Patch, C++, PR65882] Check tf_warning flag in build_new_op_1
- Authentication-results: sourceware.org; auth=none
- References: <553CC7D2 dot 5050708 at gmail dot com> <558444DE dot 3070204 at redhat dot com> <5584B276 dot 1090901 at gmail dot com> <55883EE5 dot 50201 at redhat dot com>
On 22 June 2015 at 18:59, Jason Merrill <jason@redhat.com> wrote:
> On 06/19/2015 08:23 PM, Mikhail Maltsev wrote:
>>
>> I see that version 5.2 is set as target milestone for this bug. Should I
>> backport the patch?
>
>
> Please.
>
> Jason
>
Hi Mikhail,
In the gcc-5-branch, I can see that your new inhibit-warn-2.C test
fails (targets ARM and AArch64).
I can see this error message in g++.log:
/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C:
In function 'void fn1()':
/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C:29:3:
error: 'typename A<(F<typename C< <template-parameter-1-1>
>::type>::value || B:: value)>::type D::operator=(Expr) [with Expr =
int; typename A<(F<typename C< <template-parameter-1-1>
>::type>::value || B:: value)>::type = int]' is private
/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/diagnostic/inhibit-warn-2.C:35:7:
error: within this context
Christophe.