This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Implement P0961
- From: Jason Merrill <jason at redhat dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 5 Apr 2018 09:37:00 -0400
- Subject: Re: [C++ PATCH] Implement P0961
- References: <CAFk2RUbrcZEzXt3UJKFY8hwzGPOz1-s0=S5vnXO9tw6L4DrZEQ@mail.gmail.com>
On Wed, Apr 4, 2018 at 6:26 PM, Ville Voutilainen
<ville.voutilainen@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