Hacker News new | past | comments | ask | show | jobs | submit login

First and foremost, an easy way to grab a bunch of undefined behavior.



That's a bit sloppy.

The undefined behaviour is already in the C standard.

But you are right that enabling -O3 is generally going to make your compiler more aggressive about exploiting the undefined behaviour in the pursuit of speed.

In general, if you want to avoid being the guy to run into new and exciting bugs, you want to run with options that are as close as possible to what everyone else is using.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: