[3117] in Athena Bugs

home help back first fref pref prev next nref lref last post

RT /usr/bin/lint

daemon@ATHENA.MIT.EDU (John Carr)
Wed Sep 6 21:35:42 1989

To: bugs@ATHENA.MIT.EDU
Date: Wed, 06 Sep 89 21:35:28 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>

lint complains about this line

	while(w &= (~(-w)));

with this error message:

	od.c(522): warning: w evaluation order undefined

I don't believe this is correct.  This should expand to

	w = w & (~(-w))

which is well defined.


home help back first fref pref prev next nref lref last post