https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592
--- Comment #3 from Jakub Jelinek ---
Note, the -fsanitize=bounds instrumentation is done when taking the address, at
that point the compiler doesn't know if it will be dereferenced or not, and
especially with -O0 it won't at all. As #c2 says,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592
m.cencora at gmail dot com changed:
What|Removed |Added
CC||m.cencora at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---