Y
Hacker News
new
|
ask
|
show
|
jobs
by
kllrnohj
462 days ago
strict-aliasing, which is what caused that bug to manifest, is enabled at O2.
1 comments
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
link
kllrnohj
462 days ago
Probably would have. There's no shortage of UB bugs revealed by O2 after all, including major security issues.
link
EDIT: first one is -funswitch-loops, though