Thread: Could turn on -O2 in AIX

Could turn on -O2 in AIX

From
Zeugswetter Andreas SB
Date:
but, there is eighter an optimizer bug or a code bug in nabstime.c
leading to regression failure in abstime, tinterval and horology.
The rest all passes.

Does anybody see similar behavior ? It is a little sad, because the 
optimized code really runs a lot faster and those are somehow 
obsolete datatypes.

Andreas

PS: I have a patch in the works that fixes the runcheck problems for AIX 4.2 and up
that I would like to see into 7.1, maybe tomorrow. 


Re: Could turn on -O2 in AIX

From
Tom Lane
Date:
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
> but, there is eighter an optimizer bug or a code bug in nabstime.c
> leading to regression failure in abstime, tinterval and horology.
> The rest all passes.
> Does anybody see similar behavior ?

IIRC, the same regression tests fail on Linux/Alpha with 7.0.2, even
at -O0.  I had assumed it was a 64-bit issue (probably time_t is 64-bit
on that platform), but maybe not.  I haven't had time to dig into the
Alpha situation yet; can you poke at it on your machine and narrow down
the problem?
        regards, tom lane