https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113304
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |documentation --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- -fsanitize=bounds-strict is the basically the same as `-fsanitize=bounds -fstrict-flex-arrays=3` which says [0] is not a flexiable array either. This should be better documented though. Even -fstrict-flex-arrays needs some slightly better documentation, maybe examples will help.