summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/df.c')
-rw-r--r--contrib/gcc/df.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/gcc/df.c b/contrib/gcc/df.c
index 08483ef..ed0fd77 100644
--- a/contrib/gcc/df.c
+++ b/contrib/gcc/df.c
@@ -1032,6 +1032,7 @@ df_uses_record (df, loc, ref_type, bb, insn, flags)
case CONST_INT:
case CONST:
case CONST_DOUBLE:
+ case CONST_VECTOR:
case PC:
case ADDR_VEC:
case ADDR_DIFF_VEC:
@@ -1235,13 +1236,13 @@ df_insn_refs_record (df, bb, insn)
note = XEXP (note, 1))
{
if (GET_CODE (XEXP (note, 0)) == USE)
- df_uses_record (df, &SET_DEST (XEXP (note, 0)), DF_REF_REG_USE,
+ df_uses_record (df, &XEXP (XEXP (note, 0), 0), DF_REF_REG_USE,
bb, insn, 0);
}
/* The stack ptr is used (honorarily) by a CALL insn. */
x = df_reg_use_gen (STACK_POINTER_REGNUM);
- df_uses_record (df, &SET_DEST (x), DF_REF_REG_USE, bb, insn, 0);
+ df_uses_record (df, &XEXP (x, 0), DF_REF_REG_USE, bb, insn, 0);
if (df->flags & DF_HARD_REGS)
{
OpenPOWER on IntegriCloud