]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/11319 (loop miscompiled on ppc32)
authorJames E Wilson <wilson@tuliptree.org>
Tue, 12 Aug 2003 05:28:45 +0000 (22:28 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 12 Aug 2003 05:28:45 +0000 (22:28 -0700)
PR optimization/11319
PR target/10021
* alias.c (find_base_value, case REG): Return 0 not src if no base
found.

From-SVN: r70359

gcc/ChangeLog
gcc/alias.c

index fdd3d9705ffa404cedb1721164ff2d7f48111aa2..0888e2087977ae5f2f52c340b3d749b8a59a36fc 100644 (file)
@@ -1,3 +1,10 @@
+2003-08-11  James E Wilson  <wilson@tuliptree.org>
+
+       PR optimization/11319
+       PR target/10021
+       * alias.c (find_base_value, case REG): Return 0 not src if no base
+       found.
+
 2003-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * gcse.c (gmalloc): Fix last change.
index 32531365882b723cc9640055d6136695e427c431..3951fd6216bebbeb69622234f664d9aefd762b7a 100644 (file)
@@ -782,7 +782,7 @@ find_base_value (rtx src)
            return reg_base_value[regno];
        }
 
-      return src;
+      return 0;
 
     case MEM:
       /* Check for an argument passed in memory.  Only record in the