On Thu, May 10, 2012 at 6:40 PM, Paolo Carlini <paolo.carl...@oracle.com> wrote:
> Hi,
>
> an ICE on invalid (per Daniel's analysis): when r is NULL_TREE the next
> DECL_CONTEXT (r) can only crash. Plus a garbled error message because
> pp_cxx_simple_type_specifier doesn't handle BOUND_TEMPLATE_TEMPLATE_PARM.
>
> Tested x86_64-linux.
>
> Thanks,
> Paolo.
>
> ///////////////////////////

Stylistically, I would write

   if (r == NULL)

or

  if (r == NULL_TREE)

Patch OK with that change.

-- Gaby

Reply via email to