+2016-09-28 Nathan Sidwell <nathan@acm.org>
+
+ * gimple-pretty-print.c (dump_gimple_call_args): Simplify "' "
+ printing.
+
2016-09-28 Wilco Dijkstra <wdijkstr@arm.com>
PR tree-optimization/61056
{
i++;
pp_string (buffer, enums[v]);
- if (i < gimple_call_num_args (gs))
- pp_string (buffer, ", ");
}
}
}
for (; i < gimple_call_num_args (gs); i++)
{
- dump_generic_node (buffer, gimple_call_arg (gs, i), 0, flags, false);
- if (i < gimple_call_num_args (gs) - 1)
+ if (i)
pp_string (buffer, ", ");
+ dump_generic_node (buffer, gimple_call_arg (gs, i), 0, flags, false);
}
if (gimple_call_va_arg_pack_p (gs))
{
- if (gimple_call_num_args (gs) > 0)
- {
- pp_comma (buffer);
- pp_space (buffer);
- }
+ if (i)
+ pp_string (buffer, ", ");
pp_string (buffer, "__builtin_va_arg_pack ()");
}