Re: AW: Could turn on -O2 in AIX

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AW: Could turn on -O2 in AIX
Дата
Msg-id 11716.973874954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на AW: Could turn on -O2 in AIX  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unhappy thoughts about pg_dump and objects inherited from template1
Следующее
От: Tom Lane
Дата:
Сообщение: Coping with 'C' vs 'newC' function language names