bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSK(OSS) compilation problem


From: Matthew Woehlke
Subject: Re: NSK(OSS) compilation problem
Date: Wed, 08 Nov 2006 10:28:53 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

Paul Eggert wrote:
Matthew Woehlke <address@hidden> writes:
Eh? How is testing if ((1<<1)>>1) == 1 "too strict"?

It's not.  But it wasn't clear from your earlier posting whether the
failure was 1LL<<1>>1 or 1LL<<63>>63.  The latter is not required to
yield 1 (assuming long long is 64 bits), because C doesn't define the
semantics of right shift of a negative integer.

My apologies. I thought "all tests fail" was clear enough, but I see it wasn't. Sorry about that. :-)

btw, was I supposed to see something different from your version? It
is admittedly much more platform-agnostic (I wasn't trying :-)), but I
didn't see anything that would cause me to expect yours to give
different results.

Good.  That's what we want.  We want a test case that fails
reliably on your platform but should succeed reliably on any
conforming host.

That it should. :-) Glad to help out (and again, I really appreciate all the support on your end as well).

I installed the following patch into gnulib and will install
something similar into Autoconf shortly.
[snip patch]

Thanks again!

--
Matthew
If this message is intercepted, the sender will disavow all knowledge of its existence.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]