I'll bet good money that code rearrangement during optimization lead to the value being read even if never used later.