This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ADDRESSOF broken



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]