News for hackers. Stuff that matters.
Re:What Every C Programmer Should Know About Undefined Behav... by bodyfour on Thursday January 05, 2017 @08:19AM (#13326851)
Well, by your standard most compilers used today are "broken". Possibly causing a segfault is not a side effect the compiler is required to respect.

If you want to force the compiler to not remove a memory operation in C, you need to define the pointer as "volatile"

There are no comments on this comment yet.