Re:Int a = 5; a = a++ + ++a; a =? (2011)
by compiler-guy on Thursday May 14, 2026 @04:55PM
(#48141109)
gcc used to do this back in the day. Parameter expressions left to right on x86, and right to left on Sparc. I spent a week modifying a bunch of source code, removing expressions with side effects from parameter lists, into my own temporary variables, so that they would all evaluate in the same order.
[ Parent
| on HN ]
There are no comments on this comment yet.