Re: AW: Could turn on -O2 in AIX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: AW: Could turn on -O2 in AIX
Date: 2000-11-10 16:49:14
Message-ID: 11716.973874954@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> writes:
> The macro AbsoluteTimeIsReal does not work somehow.

Hm. That expands to

(((int) time) < ((int) 0x7FFFFFFC) && \
((int) time) > ((int) 0x80000001))

On a machine where int is 32 bits, the second constant *ought* to be
treated as -2147483647, but I wonder if your compiler is doing something
bizarre with it --- say, forcing the comparison to be done as unsigned
rather than signed.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-11-10 17:07:04 Coping with 'C' vs 'newC' function language names
Previous Message Tom Lane 2000-11-10 16:39:29 Re: Unhappy thoughts about pg_dump and objects inherited from template1