back

by dmitrygr·10y ago·view on hn ↗
> In the example above, your normal C compiler could return “0” because it assumes the intervening write can’t change the value at p_int

not unless you use the restrict keyword...

1 comments
Strict aliasing. The article is correct.
You're right. You'd have to change int to char to make it valid