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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |5.5.0
            Version|unknown                     |6.4.1
           Keywords|                            |needs-bisection,
                   |                            |rejects-valid
   Last reconfirmed|                            |2018-08-30
     Ever confirmed|0                           |1
            Summary|backward compatibility      |[6/7/8/9 Regression]
                   |issue  to take char [] as   |backward compatibility
                   |incomplete type             |issue  to take char [] as
                   |                            |incomplete type
   Target Milestone|---                         |6.5
      Known to fail|                            |6.1.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is rejected since GCC 6.  gcc-6/changes.html doesn't document this change
in behavior.

Marking as regression.  I guess it should be possible to allow this with
-fpermissive, effectively treating it as [0] (which is a GCC extension,
as is flexible array members).

Reply via email to