[Bug sanitizer/92589] heuristic to avoid flexible array members too liberal

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 20 00:48:00 GMT 2019


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I thought GCC documented this differently.  So this is just a documentation
issue.
GCC allows even non-1 sized fields to be considered flexible arrays if they are
at the end of the struct.


More information about the Gcc-bugs mailing list