https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107866
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|gcc trunk's UBSan misses a |[12/13 Regression] gcc |Null-pointer-dereference at |trunk's UBSan misses a |-O3. |Null-pointer-dereference at | |-O3. Target Milestone|--- |12.3 CC| |rguenth at gcc dot gnu.org Priority|P3 |P2 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This isn't reported since r12-3918-g5b8b1522e04adc20980f396571be1929a32d148a I wonder what is the point of -O3 -fsanitize=undefined, -fsanitize= severely slows down the code for instrumentation and at the same time you ask for as many optimizations as possible.