On 08/24/2013 05:18 AM, Jan Hubicka wrote:
In the next step I would like to introduce the DECL_CPP_CONSTRUCTOR/DESTRUCTOR 
macro.
The catch I run into is that these flags are tested on TEMPLATE_DECL so the 
middle-end
macro bombs on type checking.  I wonder what is best approach here.

I think fix the front end to use STRIP_TEMPLATE to make sure we're checking/setting the flag on a FUNCTION_DECL.

Jason

Reply via email to