On 01/09/16 02:41, Jakub Jelinek wrote:
Hi!I'd like to ping the PR c++/66808, PR c++/69000 http://gcc.gnu.org/ml/gcc-patches/2015-12/msg02019.html patch, fixing ICE with GNU __thread vars in templates.
Can't you unconditionally clear DECL_TEMPLATE_INFO regardless of local_p? if (DECL_LANG_SPECIFIC(r)) DECL_TEMPLATE_INFO(r) == NULL_TREE; ? nathan