This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 65340
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 17 Mar 2015 20:11:41 -0400
- Subject: Re: [C++ Patch] PR 65340
- Authentication-results: sourceware.org; auth=none
- References: <55085FB7 dot 8090303 at oracle dot com>
On 03/17/2015 01:09 PM, Paolo Carlini wrote:
- require_deduced_type (decl);
+ if (complain & tf_error)
+ require_deduced_type (decl);
I think we want to return false if there's a problem here so that we
don't just silently accept this in SFINAE context. So probably we want
to replace the call with an inlined form like earlier in mark_used.
Are there other places that still need to pass complain to mark_used?
Jason