Hacker News new | ask | show | jobs
by zAy0LfpBZLC8mAC 4301 days ago
Why shouldn't the compiler be able to figure out that you sum a series of numbers that aren't used anywhere else, thus don't need to be spilled to RAM?
1 comments

You write them to a global state volatile
How does that require writing the random data to RAM, apart from the volatile variable itself?