[C] Print ", ..." rather than ", ..." in diagnostics
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 30 Sep 2019 14:49:07 +0000 (14:49 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 30 Sep 2019 14:49:07 +0000 (14:49 +0000)
commit9343bf99b5e36fa11b723aafa282fd5900a5e525
tree15267656afd698185b023b747b91fa29991bc19e
parentd7f9ee981f32bdbc6916cb8c6b9435cfc06f88a0
[C] Print ", ..." rather than ",  ..." in diagnostics

pp_separate_with inserts a space after the separator, so there's
no need to add whitespace before "..." as well.

2019-09-30  Richard Sandiford  <richard.sandiford@arm.com>

gcc/c-family/
* c-pretty-print.c (pp_c_parameter_type_list): Avoid printing
two spaces between a comma and "...".

gcc/testsuite/
* gcc.dg/Wincompatible-pointer-types-1.c (f1): Expect only one
space between the comma and "...".

From-SVN: r276302
gcc/c-family/ChangeLog
gcc/c-family/c-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wincompatible-pointer-types-1.c