On 01/21/2015 03:49 AM, Rasmus Villemoes wrote:
gcc.dg/20150120-1.c: New test

Rounding an integer to the next even integer is sometimes written x +=
x & 1. The equivalent x = (x+1)&~1 usually uses one less register, and
in practical cases only the new value of x will be used (making it
unlikely that the subexpression x&1 has any uses).

I bootstrapped and regression tested this on x86_64-linux-gnu, created the appropriate ChangeLogs and installed the patch on the trunk.

Jeff

Reply via email to