3 ms·
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 wa
by bodyfour 10y ago
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"