Y
Hacker News
new
|
ask
|
show
|
jobs
by
BoingBoomTschak
462 days ago
Yep, 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
1 comments
kllrnohj
462 days ago
Probably would have. There's no shortage of UB bugs revealed by O2 after all, including major security issues.
link