On Mon, May 1, 2017 at 8:07 PM, Mikhail Maltsev <malts...@gmail.com> wrote:
> This is essentially the same problem as in patch 2, but with unary '*'. We
> should verify that its argument is a pointer.

This is ok with being more specific like

 "expected pointer as argument of unary %<*%>"

Thanks,
Richard.

> --
> Regards,
>    Mikhail Maltsev
>
>
> gcc/c/ChangeLog:
>
> 2017-05-01  Mikhail Maltsev  <malts...@gmail.com>
>
>         * gimple-parser.c (c_parser_gimple_unary_expression): Check argument
>         type of unary '*'.
>
> gcc/testsuite/ChangeLog:
>
> 2017-05-01  Mikhail Maltsev  <malts...@gmail.com>
>
>         * gcc.dg/gimplefe-error-8.c: New test.
>
>

Reply via email to