Hi!

On Fri, Sep 25, 2015 at 18:54:47 +0200, Jakub Jelinek wrote:
> --- gcc/tree-pretty-print.c.jj        2015-09-03 16:35:58.000000000 +0200
> +++ gcc/tree-pretty-print.c   2015-09-25 15:04:46.911844111 +0200
> @@ -569,7 +569,9 @@ dump_omp_clause (pretty_printer *pp, tre
>               if (TREE_PURPOSE (t) != integer_zero_node)
>                 {
>                   tree p = TREE_PURPOSE (t);
> -                 if (!wi::neg_p (p, TYPE_SIGN (TREE_TYPE (p))))
> +                 if (OMP_CLAUSE_DEPEND_SINK_NEGATIVE (t))
> +                   pp_minus (pp);
> +                 else
>                     pp_plus (pp);
>                   dump_generic_node (pp, TREE_PURPOSE (t), spc, flags,
>                                      false);

This caused a warning:

gcc/tree-pretty-print.c: In function ‘void dump_omp_clause(pretty_printer*, 
tree, int, int)’:
gcc/tree-pretty-print.c:571:12: error: unused variable ‘p’ 
[-Werror=unused-variable]
       tree p = TREE_PURPOSE (t);
            ^

  -- Ilya

Reply via email to