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

Peter Wu <peter at lekensteyn dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter at lekensteyn dot nl

--- Comment #2 from Peter Wu <peter at lekensteyn dot nl> ---
GCC 6.2.1 is still affected by this. In C99 we can get away with flexible array
members, but this feature is unfortunately not defined in the C++
specification.

The idiom with an array of length 1 is quite common, is it possible to detect
that situation and relax the boundaries?

Reply via email to