This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 80449 ("[7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction")
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Nathan Sidwell <nathan at acm dot org>
- Date: Mon, 23 Oct 2017 17:28:46 -0400
- Subject: Re: [C++ Patch] PR 80449 ("[7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction")
- Authentication-results: sourceware.org; auth=none
- References: <f1e5f6d4-0710-512c-ac5a-ae9a705b5661@oracle.com>
OK.
On Mon, Oct 23, 2017 at 4:36 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> this issue is by and large a duplicate of C++/79790, which I already fixed.
> There is a minor remaining nit: for the testcase, after the correct:
>
> error: cannot deduce template arguments of ‘C<S>’, as it has no viable
> deduction guides
>
> we also emit the meaningless:
>
> error: too many initializers for ‘<type error>’
>
> only because in finish_compound_literal we don't check - as we do in most
> other places - the return value of do_auto_deduction for error_mark_node and
> it filters through until reshape_init. Tested x86_64-linux.
>
> Thanks, Paolo.
>
> ////////////////////
>