On 01/20/2016 06:39 AM, Jason Merrill wrote:
On 01/19/2016 01:09 PM, Martin Sebor wrote:
Attached is the patch to avoid the ICE that Kai posted below
with the test case Marek asked for in his response. I didn't
see any further followup on the list.
Thanks, but the code is actually well-formed; I've now fixed the bug
properly.
You're right. I had reduced the test case some more (comment #15)
and inadvertently made it ill-formed in the process by replacing
'typename' with 'class' in the definition of A, while still
triggering the ICE. Your patch does the right thing with both.
Martin