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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Minimal test-case:

enum {} a[0];
void fn1(int);
void fn2() { fn1(a[-1]); }

Minimal command line arguments:
g++ pr.ii  -fsanitize=bounds -fcheck-pointer-bounds -mmpx

I've got a patch that fixes that, will send it soon.

Reply via email to