summaryrefslogtreecommitdiff
path: root/gcc/df.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-06 11:57:47 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-06 11:57:47 +0000
commitfa16ade61e635e539575117c39106b7721c54513 (patch)
tree129f276d7f88eb33c7eb8e86aec212cf7cd285d3 /gcc/df.c
parent4e5eae00f839330a25ba8f7387cde1ee11d118be (diff)
downloadgcc-fa16ade61e635e539575117c39106b7721c54513.tar.gz
* df.c (df_insn_refs_record): Use XEXP to get the operand of a USE,
not SET_DEST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94672 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df.c')
-rw-r--r--gcc/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/df.c b/gcc/df.c
index 2e9ddfd2436..1fe44f20ef3 100644
--- a/gcc/df.c
+++ b/gcc/df.c
@@ -1196,7 +1196,7 @@ df_insn_refs_record (struct df *df, basic_block bb, rtx insn)
if (global_regs[i])
{
x = df_reg_use_gen (i);
- df_uses_record (df, &SET_DEST (x),
+ df_uses_record (df, &XEXP (x, 0),
DF_REF_REG_USE, bb, insn, 0);
}
}