[Bug sanitizer/105592] array out of bound not detected by ubsan

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
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,

[Bug sanitizer/105592] array out of bound not detected by ubsan

2022-05-13 Thread m.cencora at gmail dot com via Gcc-bugs
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

[Bug sanitizer/105592] array out of bound not detected by ubsan

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---