Re: [C++ Patch] PR 82468 ("[7/8 Regression] ICE with deduction guide template")

2018-02-16 Thread Jason Merrill
On Thu, Feb 15, 2018 at 5:56 PM, Paolo Carlini wrote: > this issue is very easy to explain and the testcase minimal: > check_special_function_return_type ICEs on a TEMPLATE_TEMPLATE_PARM as > optype, because it tries to use CLASSTYPE_TI_TEMPLATE on it. Today, >

[C++ Patch] PR 82468 ("[7/8 Regression] ICE with deduction guide template")

2018-02-15 Thread Paolo Carlini
Hi, this issue is very easy to explain and the testcase minimal: check_special_function_return_type ICEs on a TEMPLATE_TEMPLATE_PARM as optype, because it tries to use CLASSTYPE_TI_TEMPLATE on it. Today, triangulating with other compilers too, I came to believe that here essentially we only