Re: [C++ Patch] PR 51370

2012-01-26 Thread Jason Merrill
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 curren

[C++ Patch] PR 51370

2012-01-26 Thread Paolo Carlini
Hi, in this minor diagnostic regression we ICE in dump_decl when we try to print the template arguments, which in this case are just error_mark_node, nothing sensible, not a TREE_VEC actually (the user entered repeated ). The fix I'm proposing for 4.7.0 seems to me very safe but for 4.8 we m