https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127813
--- Comment #5 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Another form I stumbled over:
int g1 (int a, int b, int c)
{
int m = a & 1;
return (b & -m) + (m & c);
}
The fact that we're dealing with signed integer types is important and adds a
bit of complexity to the problem when addressing in the target files. That's
also from x264.
