Re: [PATCH 2/2] Fix handling of namespace-scope undeduced auto decls.
On Fri, Aug 23, 2019 at 4:18 PM Jason Merrill wrote: Apparently git send-email only spawns the editor once, so I need to edit both messages before exiting... This testcase comes from committee reflector discussion: 'fn' can't be dependent because it is not in the scope of any template parameters
[PATCH 2/2] Fix handling of namespace-scope undeduced auto decls.
* decl2.c (decl_dependent_p): New. (mark_used): Check it instead of just processing_template_decl. --- gcc/cp/decl2.c | 24 - gcc/testsuite/g++.dg/cpp1z/constexpr-if30.C | 10 + gcc/cp/ChangeLog|