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

qinzhao at gcc dot gnu.org changed:

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

--- Comment #1 from qinzhao at gcc dot gnu.org ---
with bounds sanitizer, the out-of-bound access can be detected during runtime:

/home/opc/Install/latest-d/bin/gcc -O2 -fsanitize=bounds -fstrict-flex-arrays=3
t.c
t.c:15:21: runtime error: index 1 out of bounds for type 'int [*]'

Reply via email to