Hacker News new | ask | show | jobs
by vlovich123 455 days ago
Are you sure about that? I’m not aware of any additional UB exploitation enabled by O3 vs O2 or Os.
1 comments

Nope, I'm not sure about it. I remember when I was using Gentoo about 10 years ago, this was the common reason given for using -O2 instead of -O3 in your build flags, and I'm just speaking from that memory.
Yeah there’s lots of cargo culting FUD like that that happens (see other posters in this thread that claim that glibc is a more stable allocator )