[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 23 20:04:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is indeed mostly a duplicate of PR79790 which I already fixed. There is
only a minor nit remaining, a meaningless additional diagnostic:

80449.C:3:16: error: cannot deduce template arguments of ‘C<S>’, as it has no
viable deduction guides
80449.C:3:16: error: too many initializers for ‘<type error>’

Which seems also easy to avoid.


More information about the Gcc-bugs mailing list