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]
Other format: [Raw text]

Re: PATCH: Fix 7086


Op ma 24-03-2003, om 11:58 schreef Andreas Schwab:
> Mark Mitchell <mark at codesourcery dot com> writes:
> 
> |> PR c++/7086 is a compilation-time issue.  The problem is the quadratic
> |> behavior in fixup_var_refs.  This patch doesn't fix that problem, but
---- 8< ----
> 
> Breaks bootstrap on ia64.

... and on Alpha.  Like Andreas, assuming "true" is safe.


2003-03-24  Steven Bosscher  <s dot bosscher at student dot tudelft dot nl>

	* config/alpha/alpha.c (alpha_gp_save_rtx): Adjust
	calls to get_mem_addressof.


Index: alpha.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/alpha.c,v
retrieving revision 1.282.4.4
diff -c -3 -p -r1.282.4.4 alpha.c
*** alpha.c	15 Mar 2003 21:49:23 -0000	1.282.4.4
--- alpha.c	24 Mar 2003 11:13:59 -0000
*************** alpha_gp_save_rtx ()
*** 5389,5395 ****
  {
    rtx r = get_hard_reg_initial_val (DImode, 29);
    if (GET_CODE (r) != MEM)
!     r = gen_mem_addressof (r, NULL_TREE);
    return r;
  }
  
--- 5389,5395 ----
  {
    rtx r = get_hard_reg_initial_val (DImode, 29);
    if (GET_CODE (r) != MEM)
!     r = gen_mem_addressof (r, NULL_TREE, true);
    return r;
  }
  


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