re PR rtl-optimization/11319 (loop miscompiled on ppc32)

PR optimization/11319
PR target/10021
* alias.c (find_base_value, case REG): Return 0 not src if no base
found.

From-SVN: r70359
This commit is contained in:
James E Wilson 2003-08-11 22:28:45 -07:00 committed by Jim Wilson
parent 2803847d40
commit e3f049a88e
2 changed files with 8 additions and 1 deletions

View 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.

View 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