3 ms·
strict-aliasing, which is what caused that bug to manifest, is enabled at O2.
by kllrnohj 2y ago
strict-aliasing, which is what caused that bug to manifest, is enabled at O2.
- BoingBoomTschak 2y agoYep, it's what caused the bug to manifest, but who knows if that UB would have caused -O2 optimizations to mangle the result as well. EDIT: first one is -funswitch-loops, though
- kllrnohj 2y agoProbably would have. There's no shortage of UB bugs revealed by O2 after all, including major security issues.