Re: AW: Could turn on -O2 in AIX - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AW: Could turn on -O2 in AIX
Date
Msg-id 11716.973874954@sss.pgh.pa.us
Whole thread Raw
In response to AW: Could turn on -O2 in AIX  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Unhappy thoughts about pg_dump and objects inherited from template1
Next
From: Tom Lane
Date:
Subject: Coping with 'C' vs 'newC' function language names