This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: ICE: while compiling libobjc/sendmsg.c for Alpha 32 -- take 2
- To: Donn Terry <donn at interix dot com>
- Subject: Re: Patch: ICE: while compiling libobjc/sendmsg.c for Alpha 32 -- take 2
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 15 Apr 1999 23:47:14 -0600
- cc: "egcs-patches at cygnus dot com" <egcs-patches at cygnus dot com>
- Reply-To: law at cygnus dot com
In message <37166E1E.BA67B888@interix.com>you write:
> This is a multi-part message in MIME format.
> ICE: while compiling libobjc/sendmsg.c for Alpha 32.
>
> Cause: expand_assignment() is called with a LHS (to) of a in-memory
> pointer (32-bits) and a RHS (from) of the result of
> __builtin_apply_args, which is a Pmode (64-bit) pointer.
> expand_assignment() tries to do the actual move with emit_move_insn(),
> which can't do that.
>
> Fix: add convert_memory_address as needed.
>
> * expr.c(expand_assignment): When POINTERS_EXTEND_UNSIGNED, do
> convert_move when needed.
Thanks. Installed.
jeff