alias.c (find_base_term): Synch LO_SUM handling with what find_base_value does.

2008-12-08  Luis Machado  <luisgpm@br.ibm.com>
	* alias.c (find_base_term): Synch LO_SUM handling with what
	find_base_value does.

From-SVN: r142553
This commit is contained in:
Luis Machado 2008-12-08 15:05:08 +00:00 committed by Peter Bergner
parent 41e9641b89
commit be6568d8c6
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-12-08 Luis Machado <luisgpm@br.ibm.com>
* alias.c (find_base_term): Synch LO_SUM handling with what
find_base_value does.
2008-12-08 Andrew Haley <aph@redhat.com>
Kamaraju Kusumanchi <raju.mailinglists@gmail.com>

View File

@ -1408,6 +1408,9 @@ find_base_term (rtx x)
return 0;
/* Fall through. */
case LO_SUM:
/* The standard form is (lo_sum reg sym) so look only at the
second operand. */
return find_base_term (XEXP (x, 1));
case PLUS:
case MINUS:
{