Bug with rotateLeft ?


I’m testing the new 195.17 linux driver with a 8600M GS.

When I try to use this function :

uint rotateLeft(uint x, int n)


	return (x << n)|(x >> (32-n));


I get this error message at compilation :

If I change the code to anything else (like (x << (n+1))|(x >> (32-n)); ), the code compile fine.

Is there a bug in the driver or in my code ?


Adrien Béraud

Thanks for reporting this, we have verified that it is a compiler bug and it will be fixed in the next release.