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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
This isn't standard C, so why should the psABI document talk about it?  As this
is a GCC extension, GCC is to set the ABI.  But IMO zero-sized arrays not at
the end of a struct or union should be rejected.

t.c:4:9: error: ISO C forbids zero-size array ‘hole’ [-Wpedantic]
    4 |   float hole[0][2][2];
      |         ^~~~

Reply via email to