Date: Wed, 10 Jan 2001 22:42:09 -0700 From: Warner Losh <imp@harmony.village.org> To: Peter Jeremy <peter.jeremy@alcatel.com.au> Cc: Matthew Jacob <mjacob@feral.com>, Matt Jacob <mjacob@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/include bus.h Message-ID: <200101110542.f0B5g9s69778@harmony.village.org> In-Reply-To: Your message of "Thu, 11 Jan 2001 16:30:29 %2B1100." <20010111163029.B91242@gsmx07.alcatel.com.au> References: <20010111163029.B91242@gsmx07.alcatel.com.au> <200101100441.f0A4f2s58670@harmony.village.org> <Pine.BSF.4.21.0101092200070.2888-100000@beppo.feral.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010111163029.B91242@gsmx07.alcatel.com.au> Peter Jeremy writes: : fun() : { : foo = bar & ~0; : } : : Unfortunately, I don't have a functional FreeBSD/Alpha box right now, : but both Compaq CC and gcc-2.8.1 generate "foo = bar". I'm not sure : that this behaviour makes sense. Likely because ~0 is signed, and signed extended in the promotion from int to unsigned long. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101110542.f0B5g9s69778>