https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71939

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
For the record, I brought this up on the C committee's mailing list for
discussion.  Since the standard can be read (at least) two different ways here
I'll submit a proposal into the next mailing to clarify the intent.

I've also tested IBM XLC, Intel ICC, and Sun c99, and they all reject the code
like GCC does, so unless some new arguments in favor of the other
interpretation surface I'll go with Joseph's interpretation.

Unfortunately, since G++ has implemented the more permissive rule (as has Clang
and ICC in C++ modes, for compatibility with G++), I think it needs to be kept
the way it is to avoid breaking code that relies on it.

Reply via email to