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: outstanding regressions


On Thu, Aug 01, 2002 at 09:47:13AM -0700, Geoff Keating wrote:
> powerpc-eabisim g77.sum g77.f-torture/execute/19981119-0.f
> 
> is due to rth's changes of 2002-07-21;

See

 http://gcc.gnu.org/ml/gcc-regression/2002-08/msg00009.html

for analysis.  Fixed thus.


r~


        * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
        refers to a subroutine parameter.

Index: integrate.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/integrate.c,v
retrieving revision 1.200
diff -c -p -d -r1.200 integrate.c
*** integrate.c	23 Jul 2002 06:21:53 -0000	1.200
--- integrate.c	1 Aug 2002 23:05:00 -0000
*************** copy_rtx_and_substitute (orig, map, for_
*** 2321,2326 ****
--- 2321,2333 ----
        if (inlining && !for_lhs)
  	RTX_UNCHANGING_P (copy) = 0;
  
+       /* If inlining, squish aliasing data that references the subroutine's
+ 	 parameter list, since that's no longer applicable.  */
+       if (inlining && MEM_EXPR (copy)
+ 	  && TREE_CODE (MEM_EXPR (copy)) == INDIRECT_REF
+ 	  && TREE_CODE (TREE_OPERAND (MEM_EXPR (copy), 0)) == PARM_DECL)
+ 	set_mem_expr (copy, NULL_TREE);
+ 
        return copy;
  
      default:


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