This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ADDRESSOF broken
- To: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Subject: Re: ADDRESSOF broken
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 14 Oct 1998 00:55:25 -0600
- cc: egcs-patches at cygnus dot com, rth at cygnus dot com
- Reply-To: law at cygnus dot com
In message <vyzpvbyp1vf.fsf@issan.cs.uni-dortmund.de>you write:
> The compiler now crashes while compiling gcc.c-torture/compile/930117-1.c
> with the new ADDRESSOF optimisation. The problem is that the first
> argument of a CALL insn must be a memory operand of some kind, but
> purge_addressof does not force that.
>
>
> 1998-10-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
>
> * function.c (purge_addressof_1): Force the first argument of a
> CALL insn to memory.
rth -- I think this is the fix for the H8 bug I sent you, but forgot to attach
the testcase :-)
I'm going to install this patch.
jeff