Re: [c++/81899] bound tpl-tpl-parm ICE

2017-08-21 Thread Nathan Sidwell
I missed a c++-03 requirement about friends. Fixed thusly. Also fixed the recent debug9 failure for stabs debugging. That test appears to be a dwarf test, but as there's no dg-requires-dwarf the simplest fix was turning off block partitioning optimization (enabled on x86 automatically at O2

[c++/81899] bound tpl-tpl-parm ICE

2017-08-21 Thread Nathan Sidwell
This patch fixes pr 81899. It was an underlying bug exposed by my removal of LANG_TYPE_SPECIFIC from BOUND_TEMPLATE_TEMPLATE_PARM. B_T_T_P happened to not set CLASSTYPE_USE_TEMPLATE, even though, by definition, they are template instantiations. However they also happened to not be DECL_HIDDE