News for hackers. Stuff that matters.
Re:Everything in C is undefined behavior by vlovich123 on Wednesday May 20, 2026 @08:34AM (#48206668)
> There should have been a carve out in the "unsequenced side effect" definitions for volatile variables.

As noted, there’s almost 300 usages of the word undefined in the standard. Believing that it’s possible to correctly define all the carve outs necessary correctly and have the compiler implement the carve outs successfully is about as logical as believing UB is humanly avoidable in written code.

There are no comments on this comment yet.