small true_dependence patch

Dan Nicolaescu dann@ics.uci.edu
Thu Nov 6 20:47:00 GMT 2003


Return true if the arguments are identical. It can happen when
true_dependence is called from CSE. 

Please check it in if OK, I don't have commit access. 

2003-11-04  Dan Nicolaescu  <dann@ics.uci.edu>

	* alias.c (true_dependence): Return true if args are identical.

*** alias.c.~1.203.~	Tue Nov  4 15:20:11 2003
--- alias.c	Tue Nov  4 15:46:00 2003
***************
*** 2068,2073 ****
--- 2068,2076 ----
    rtx x_addr, mem_addr;
    rtx base;
  
+   if (mem == x)
+     return 1;
+   
    if (MEM_VOLATILE_P (x) && MEM_VOLATILE_P (mem))
      return 1;
  



More information about the Gcc-patches mailing list