logoalt Hacker News

vbezhenaryesterday at 4:59 PM2 repliesview on HN

Compiler is not 100% deterministic. Its output can change when you upgrade its version, its output can change when you change optimization options. Using profile-guided optimization can also change between runs.


Replies

CWIZOyesterday at 6:35 PM

If you change inputs then obviously you will get a different output. Crucially using the same inputs, however, produces the same output. So compilers are actually deterministic.