Eliminate SUBREGs inside MEMs.
From-SVN: r39538
This commit is contained in:
parent
870eabc47e
commit
0433762093
@ -1,3 +1,8 @@
|
||||
2001-02-08 Bernd Schmidt <bernds@redhat.com>
|
||||
|
||||
* final.c (cleanup_subreg_operands): The address of a MEM can
|
||||
contain SUBREGs.
|
||||
|
||||
2001-02-08 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* gcc.texi (Incompatibilities): Update documentation of
|
||||
|
@ -3119,7 +3119,8 @@ cleanup_subreg_operands (insn)
|
||||
if (GET_CODE (recog_data.operand[i]) == SUBREG)
|
||||
recog_data.operand[i] = alter_subreg (recog_data.operand[i]);
|
||||
else if (GET_CODE (recog_data.operand[i]) == PLUS
|
||||
|| GET_CODE (recog_data.operand[i]) == MULT)
|
||||
|| GET_CODE (recog_data.operand[i]) == MULT
|
||||
|| GET_CODE (recog_data.operand[i]) == MEM)
|
||||
recog_data.operand[i] = walk_alter_subreg (recog_data.operand[i]);
|
||||
}
|
||||
|
||||
@ -3128,7 +3129,8 @@ cleanup_subreg_operands (insn)
|
||||
if (GET_CODE (*recog_data.dup_loc[i]) == SUBREG)
|
||||
*recog_data.dup_loc[i] = alter_subreg (*recog_data.dup_loc[i]);
|
||||
else if (GET_CODE (*recog_data.dup_loc[i]) == PLUS
|
||||
|| GET_CODE (*recog_data.dup_loc[i]) == MULT)
|
||||
|| GET_CODE (*recog_data.dup_loc[i]) == MULT
|
||||
|| GET_CODE (*recog_data.dup_loc[i]) == MEM)
|
||||
*recog_data.dup_loc[i] = walk_alter_subreg (*recog_data.dup_loc[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user