aboutsummaryrefslogtreecommitdiff
path: root/gcc/web.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/web.c')
-rw-r--r--gcc/web.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/web.c b/gcc/web.c
index d09d1d5..7f667db 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -132,14 +132,22 @@ union_match_dups (rtx insn, struct web_entry *def_entry,
ref = type == OP_IN ? use_link : def_link;
entry = type == OP_IN ? use_entry : def_entry;
for (; *ref; ref++)
- if (DF_REF_LOC (*ref) == recog_data.operand_loc[op])
- break;
+ {
+ if (DF_REF_LOC (*ref) == recog_data.operand_loc[op])
+ break;
+ if (DF_REF_REAL_LOC (*ref) == recog_data.operand_loc[op])
+ break;
+ }
if (!*ref && type == OP_INOUT)
{
for (ref = use_link, entry = use_entry; *ref; ref++)
- if (DF_REF_LOC (*ref) == recog_data.operand_loc[op])
- break;
+ {
+ if (DF_REF_LOC (*ref) == recog_data.operand_loc[op])
+ break;
+ if (DF_REF_REAL_LOC (*ref) == recog_data.operand_loc[op])
+ break;
+ }
}
gcc_assert (*ref);