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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |
                 CC|                            |jason at gcc dot gnu.org

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The code is invalid and the error is correct (some background is in bug 77650).
 The patch was approved for 6.0 here:
https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00169.html

The error can be avoided by using the zero-length array extension.   I would
suggest resolving this bug as invalid but I'll leave it to Jason and others to
make the decision.

Reply via email to