From: James E Wilson Date: Tue, 12 Aug 2003 05:28:45 +0000 (-0700) Subject: re PR rtl-optimization/11319 (loop miscompiled on ppc32) X-Git-Tag: releases/gcc-3.4.0~4284 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3f049a88eb7ab9c6aa2c61afd8c93c4c2d675c9;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdd3d9705ffa..0888e2087977 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-08-11 James E Wilson + + 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 * gcse.c (gmalloc): Fix last change. diff --git a/gcc/alias.c b/gcc/alias.c index 32531365882b..3951fd6216be 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -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