Hacker News new | ask | show | jobs
by nly 4305 days ago
Is the compiler still allowed to optimize away the zeroing in this case?

With 'volatile', generally not, modulo bugs. Without volatile, it would never return an error.