On 07/05/2012 09:37 PM, Jason Merrill wrote:
The patch also fixes 53039, which is another case of treating things
as interchangeable that turn out not to be: in this case they are
template parameter packs that are compared for identity in
arg_from_parm_pack_p, which was running into problems during template
parameter fixup. I didn't expect this patch to fix the bug, but
apparently removing the fixup solves the problem for this testcase.
Tested x86_64-pc-linux-gnu, applying to trunk.
Thanks! I suppose nothing simple and safe can be applied to 4.7...
Paolo.