diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2010-08-02 09:42:37 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2010-08-02 09:42:37 +0000 |
commit | f37e278a150cfdb1ead8b5e0662a27f4ee58ae89 (patch) | |
tree | f2ef83063262da0137c569e5097b293bafbb43b9 /gcc/postreload.c | |
parent | 0eeeef0768aeab690f3c2c9ea326ac4107d657f0 (diff) | |
download | gcc-f37e278a150cfdb1ead8b5e0662a27f4ee58ae89.zip gcc-f37e278a150cfdb1ead8b5e0662a27f4ee58ae89.tar.gz gcc-f37e278a150cfdb1ead8b5e0662a27f4ee58ae89.tar.bz2 |
postreload.c (reload_cse_simplify_operands): Take attribute enabled into account.
* postreload.c (reload_cse_simplify_operands): Take attribute enabled
into account.
From-SVN: r162812
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r-- | gcc/postreload.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c index a0c7cc1..a62569e 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -573,6 +573,7 @@ reload_cse_simplify_operands (rtx insn, rtx testreg) alternative yet and the operand being replaced is not a cheap CONST_INT. */ if (op_alt_regno[i][j] == -1 + && recog_data.alternative_enabled_p[j] && reg_fits_class_p (testreg, rclass, 0, mode) && (!CONST_INT_P (recog_data.operand[i]) || (rtx_cost (recog_data.operand[i], SET, |