News for hackers. Stuff that matters.
Re:Three Optimization Tips for C++ by mattgodbolt on Wednesday May 07, 2014 @09:59PM (#7713605)
Clang since at least v3.0 has done this automatically at -O1 and above - no need to use this cool, but ungainly, and hard-to-maintain approach.

http://goo.gl/Cx0E0c

Re:Three Optimization Tips for C++ by nly on Wednesday May 07, 2014 @10:31PM (#7713679)
GCC has done this for 20 years... the point is this optimisation requires a wider integer type than 64bits (in this case, apparently, 67 bits). This optimisation is potentially important for anything generating bytecode, or native code inside a JIT.