Hi! On Tue, Dec 10, 2019 at 10:02:47PM +0100, Jakub Jelinek wrote: > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > Or do you want to use an additional bit for that? > > 2019-12-10 Jakub Jelinek <ja...@redhat.com> > > PR c++/59655 > * pt.c (push_tinst_level_loc): If limit_bad_template_recursion, > set TREE_NO_WARNING on tldcl. > * decl2.c (no_linkage_error): Treat templates with TREE_NO_WARNING > as defined during error recovery. > > * g++.dg/cpp0x/diag3.C: New test.
I'd like to ping this patch (or whether you want a special bit for it in addition to TREE_NO_WARNING). Thanks. Jakub