This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix i960 objc runtime build
- To: John Wehle <john at feith dot com>
- Subject: Re: Patch to fix i960 objc runtime build
- From: Stan Shebs <shebs at apple dot com>
- Date: Mon, 19 Mar 2001 12:24:16 -0800
- CC: gcc-patches at gcc dot gnu dot org
- References: <200103160403.XAA02553@jwlab.FEITH.COM>
John Wehle wrote:
>
> Defining REAL_TYPE to _C_DBL in encoding.c seemed the most likely
> to do the right thing most of the time. [...]
Yeah, given the situation, that is the best choice. Feel free to
check it in at your leisure.
> BTW: I'm not thrilled by the situation and am more than happy to be guided
> by the objc wizards to a better solution.
I'm still pondering this. The current code is vulnerable to both
obvious and subtle breakage (imagine a bug caused by the libobjc GC
looking at the off-by-4 pointer instead of the right one), but GCC's
storage layout machinery is not really set up to be abstracted into
target code either - that seems like a major undertaking.
Stan