[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSK(OSS) compilation problem
From: |
Paul Eggert |
Subject: |
Re: NSK(OSS) compilation problem |
Date: |
Mon, 16 Oct 2006 22:53:30 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Matthew Woehlke <address@hidden> writes:
> Notice that it looks like the result of 'x>>y' under certain
> circumstances is '0x100000000 | (x & 0xFFFFFFFF)', regardless of the
> value of 'y'... which is of course Just Plain Wrong.
That's what we're looking for. Ideally, I'd like a sample program
that fails to _compile_ due to the problem. But I guess we'd settle
for one that fails to _run_.
> 1288 27a1ad6e467a7e63>>? == 1467a7e63 ?
OK, what happens if you compile and run the following program, with
and without -O? What is the exit status of the program? If it works,
then we don't yet have a complete handle on the problem.
#define BIG 0x27a1ad6e467a7e63LL
#define HALF_BIG 0x13d0d6b7233d3f31LL
#if BIG >> 1 != HALF_BIG
error;
#endif
int array[BIG >> 1 == HALF_BIG ? 1 : -1];
long long int big = BIG;
int main (void) { return big >> 1 != HALF_BIG; }
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), (continued)
- Message not available
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/11
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Matthew Woehlke, 2006/10/11
- printf %lld versus %Ld for Tandem NSK (OSS), Paul Eggert, 2006/10/12
- Re: [bug-gnulib] printf %lld versus %Ld for Tandem NSK (OSS), Bruno Haible, 2006/10/12
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/15
- Re: NSK(OSS) compilation problem, Matthew Woehlke, 2006/10/16
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/16
- Re: NSK(OSS) compilation problem, Matthew Woehlke, 2006/10/16
- Re: NSK(OSS) compilation problem,
Paul Eggert <=
- Re: NSK(OSS) compilation problem, Matthew Woehlke, 2006/10/17
- Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/17
Re: NSK(OSS) compilation problem, mwoehlke, 2006/10/06
NSK/OSS compilation problems, continued, mwoehlke, 2006/10/11
Re: NSK(OSS) compilation problem, Paul Eggert, 2006/10/15