Date: Mon, 28 Sep 1998 01:03:17 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: shimon@simon-shapiro.org Cc: freebsd-current@FreeBSD.ORG Subject: Re: Compiler Problem in 64bit math? Message-ID: <199809280103.SAA08252@usr05.primenet.com> In-Reply-To: <XFMail.980927202241.shimon@simon-shapiro.org> from "Simon Shapiro" at Sep 27, 98 08:22:41 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> works correctly. IF, however, I change the first line to be: > > register off_t top_size = QUAD_MAX, ... > > then the test at the bottom is always false. This is with large numbers, > such as QUAD_MAX... What processor are you using? If the Alpha, then I'm surprised. If Intel, well, you realize that registers are 32 bits, right? I'm not sure the compiler knows how to do a 64 bit register, but you might be confusing it into trying. 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809280103.SAA08252>