On Wed, Apr 4, 2018 at 6:26 PM, Ville Voutilainen <ville.voutilai...@gmail.com> wrote: > + tree parm = TREE_VEC_ELT (TREE_VALUE (tparms), 0);
I think you want to use INNERMOST_TEMPLATE_PARMS here rather than TREE_VALUE directly. Please also add a comment quoting the rule you're implementing. Jason