From: | Roman Hodek <Roman(dot)Hodek(at)informatik(dot)uni-erlangen(dot)de> |
---|---|
To: | maillist(at)candle(dot)pha(dot)pa(dot)us |
Cc: | olly(at)lfix(dot)co(dot)uk, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PORTS] Patch for m68k architecture (fwd) |
Date: | 1999-06-15 07:05:41 |
Message-ID: | 199906150705.JAA20341@faui22c.informatik.uni-erlangen.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Bruce!
> Yes, we admit that we break the standard with fmgr_ptr, because we
> return a variety of values depending on what function they call.
Yep... the correct thing would be to cast all such return values to a
common type (e.g. long) and cast them back in the caller.
> It appears the egcs optimization on the powerpc or alpha cause a
> problem when optimization is -O2, but not -O.
Can be like this on those archs. On m68k, however, the registers for
function return values are the same independent of optimization level.
> We may see more platforms with problems as optimizers get smarter.
Yep...
Roman
From | Date | Subject | |
---|---|---|---|
Next Message | Roman Hodek | 1999-06-15 07:09:43 | Re: Cleaning up function interface (was Re: Patch for m68k architecture) |
Previous Message | Bruce Momjian | 1999-06-15 04:58:24 | Re: important Re: [HACKERS] Open 6.5 items |