On Tue, Jun 04, 2024 at 11:58:43AM +0100, Andre Vieira (lists) wrote:
> case annot_expr_unroll_kind:
> + case annot_expr_interleaves_kind:
> {
> - pp_string (pp, ", unroll ");
> + pp_string (pp,
> + annot_expr_unroll_kind
I think annot_expr_unroll_kind is 1 and thus always non-zero.
You want to compare the value of the operand, or just use separate
cases, they aren't that large.
> + ? ", unroll "
> + : ", interleaves ");
> pp_decimal_int (pp,
> (int) TREE_INT_CST_LOW (TREE_OPERAND (node, 2)));
> break;
Jakub