This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to fix an -m64 ICE when expanding a constant address
- From: Richard Henderson <rth at redhat dot com>
- To: Fariborz Jahanian <fjahanian at apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 30 Aug 2005 15:59:39 -0700
- Subject: Re: patch to fix an -m64 ICE when expanding a constant address
- References: <1886742B-3C36-49AB-8CDC-9387DC056508@apple.com>
On Tue, Aug 30, 2005 at 08:09:54AM -0700, Fariborz Jahanian wrote:
> * expr.c (expand_expr_real_1): Compare size of address
> mode to target's address mode size in deciding expansion of
> the constant address.
Ug. I guess this is ok as a minimalistic change, but I see several
bugs (or at least inconsistencies) in the not-quite replicated code
there. I'm pretty sure (1) these blocks should be identical, and
(2) HOST_BITS_PER_WIDE_INT is only relevant due to the poor quality
of the code within.
r~