This is the mail archive of the
mailing list for the GCC project.
Re: [C++ Patch] Mini bunch of mini clean-ups
On 04/01/2013 06:55 PM, Paolo Carlini wrote:
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?
On 04/01/2013 06:50 PM, Jason Merrill wrote:
Honestly, I don't know, I followed DECL_TYPE_TEMPLATE_P, I can see
what happens if I remove it...
On 04/01/2013 12:41 PM, Paolo Carlini wrote:
Do we need the NULL_TREE check? That is, do we still build a
template with no result?
+#define DECL_FUNCTION_TEMPLATE_P(NODE) \
+ (TREE_CODE (NODE) == TEMPLATE_DECL \
+ && DECL_TEMPLATE_RESULT (NODE) != NULL_TREE \