diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-10 00:38:03 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-10 00:38:03 +0000 |
commit | ff90a874731409eda48bc647dc90a224437ea89e (patch) | |
tree | c8aae0318215d4b287a9d99b9769bc62c40d0095 /gcc/rtlanal.c | |
parent | 5070ea2573839cfecce24d60598ba6c7b344d751 (diff) | |
download | gcc-ff90a874731409eda48bc647dc90a224437ea89e.tar.gz |
* rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
to extract items in the expr_list chain.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48702 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 427e3fbe921..c536df7ef2f 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1,6 +1,6 @@ /* Analyze RTL for C-Compiler Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -1867,7 +1867,7 @@ find_reg_fusage (insn, code, datum) link; link = XEXP (link, 1)) if (GET_CODE (XEXP (link, 0)) == code - && rtx_equal_p (datum, SET_DEST (XEXP (link, 0)))) + && rtx_equal_p (datum, XEXP (XEXP (link, 0), 0))) return 1; } else |