[Bug c++/70932] flexible array member with non-trivial destructor

junyer at google dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 18 03:14:00 GMT 2017


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

--- Comment #10 from Paul Wankadia <junyer at google dot com> ---
(In reply to Martin Sebor from comment #9)
> Sorry, I haven't gotten to it yet.

Was this bug fixed in GCC 7.x? :)

I ask because the workaround in RE2 is conditioned thus:

#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 6 && __GNUC_MINOR__
>= 1

No one has reported breakage with GCC 7.x (which is why I had forgotten about
the bug until just now!) and our build matrix on Travis CI is clean.


More information about the Gcc-bugs mailing list