On Fri, 16 Dec 2022 at 20:51, Taylor Simpson <[email protected]> wrote:
>
> From: Anton Johansson <[email protected]>
>
> Signed-off-by: Alessandro Di Federico <[email protected]>
> Signed-off-by: Paolo Montesel <[email protected]>
> Signed-off-by: Anton Johansson <[email protected]>
> Signed-off-by: Taylor Simpson <[email protected]>
> Reviewed-by: Taylor Simpson <[email protected]>
> Message-Id: <[email protected]>

Hi; Coverity points out (CID 976926) that here:

> --- /dev/null
> +++ b/target/hexagon/idef-parser/idef-parser.y

> +lvalue : FAIL
> +         {
> +             @1.last_column = @1.last_column;

...we have coded an "x = x" assignment that has no
effect. Was this supposed to be something else, or should it
just be deleted?

> +             yyassert(c, &@1, false, "Encountered a FAIL token as 
> lvalue.\n");
> +         }
> +       | REG
> +         {
> +             $$ = $1;
> +         }
> +       | var
> +         {
> +             $$ = $1;
> +         }
> +       ;

thanks
-- PMM

Reply via email to