On Fri, Jun 26, 2020 at 03:52:33AM -0400, Michael Meissner wrote:
> On Thu, Jun 25, 2020 at 06:54:26PM -0500, Segher Boessenkool wrote:
> > On Thu, Jun 25, 2020 at 06:36:51PM -0500, Peter Bergner wrote:
> > >   * config/rs6000/rs6000-call.c (cpu_is_info) <power10>: New.
> > >   <mma>: Remove unneeded ','.
> > 
> > The comma helps making the diff less for future additions (and, makes
> > merging/refactoring easier, that way).  A trailing comma was not allowed
> > with older C standards (or just with some implementations?), but it
> > should be fine with C++11 as we require now.  Is there something I am
> > missing here?
> 
> A trailing comma has always been allowed for structure and array
> initializations.  Where it is not allowed is for enumeration names.

It is allowed even there since C99.  But GCC never required C99 for the
host compiler, and C++ didn't get this feature until C++11, which we
require since a little over a month now!  Freedom at last!  ;-)


Segher

Reply via email to