Commit c7271385 by Jeffrey A Law Committed by Jeff Law

* i386.c (reg_mentioned_in_mem): Fix dangling else statement.

From-SVN: r18344
parent de153e82
Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com) Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
* i386.c (reg_mentioned_in_mem): Fix dangling else statement.
* fold-const.c (fold_range_test): Always return a value. * fold-const.c (fold_range_test): Always return a value.
Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu> Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
......
...@@ -4860,9 +4860,11 @@ reg_mentioned_in_mem (reg, rtl) ...@@ -4860,9 +4860,11 @@ reg_mentioned_in_mem (reg, rtl)
for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--) for (i = GET_RTX_LENGTH (code) - 1; i >= 0; i--)
{ {
if (fmt[i] == 'E') if (fmt[i] == 'E')
for (j = XVECLEN (rtl, i) - 1; j >= 0; j--) {
if (reg_mentioned_in_mem (reg, XVECEXP (rtl, i, j))) for (j = XVECLEN (rtl, i) - 1; j >= 0; j--)
return 1; if (reg_mentioned_in_mem (reg, XVECEXP (rtl, i, j)))
return 1;
}
else if (fmt[i] == 'e' && reg_mentioned_in_mem (reg, XEXP (rtl, i))) else if (fmt[i] == 'e' && reg_mentioned_in_mem (reg, XEXP (rtl, i)))
return 1; return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment