Hacker News new | ask | show | jobs
by marcosdumay 3844 days ago
Just to update, yes, it's undefined behavior.

Every compiler seems to act the same way today, but some specs oriented optimizer might play havoc with that line.