On 10/09/2013 01:43 PM, Jakub Jelinek wrote:
Perhaps DECL_TEMPLATE_INFO check could also be less expensive to be done
before calling decl_maybe_constant_var_p or undeduced_auto_decl ?

Sure.

+         DECL_LOCAL_FUNCTION_P (fndecl) = 1;

This should be set by pushdecl_maybe_friend_1, so I don't think you need it here.

Jason

Reply via email to