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]

small true_dependence patch


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;
  


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