On 01/26/2012 06:01 AM, Paolo Carlini wrote:
The fix I'm proposing for 4.7.0 seems to me very safe
OK.
but for 4.8 we may want to revisit these things, maybe we want to keep the invariant that even in error conditions the arguments are always stored in a TREE_VEC
I think I prefer the current situation of error_mark_node bubbling out like an exception. Along those lines, I would be inclined to replace the TEMPLATE_ID_EXPR with an error_mark_node if the arguments are error_mark_node.
Jason