Hi again

On 04/01/2013 06:55 PM, Paolo Carlini wrote:
Hi,

On 04/01/2013 06:50 PM, Jason Merrill wrote:
On 04/01/2013 12:41 PM, Paolo Carlini wrote:
+#define DECL_FUNCTION_TEMPLATE_P(NODE)                          \
+  (TREE_CODE (NODE) == TEMPLATE_DECL \
+   && DECL_TEMPLATE_RESULT (NODE) != NULL_TREE            \
Do we need the NULL_TREE check? That is, do we still build a template with no result?
Honestly, I don't know, I followed DECL_TYPE_TEMPLATE_P, I can see what happens if I remove it...
We have an ICE for g++.dg/template/qualttp17.C. Is this something we want to further investigate now or shall I just leave the check in?

Thanks,
Paolo.

Reply via email to