diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-12-16 23:50:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2005-12-17 10:20:42 +1030 |
commit | 01578564782255d41967745d43d11720cee0ad6d (patch) | |
tree | f7cd5ba04319b562af04be5f24adaaa678e2a18f /gcc | |
parent | 2789de5d9638a74def5f6a6a33c34667dc3ca1ab (diff) | |
download | gcc-01578564782255d41967745d43d11720cee0ad6d.zip gcc-01578564782255d41967745d43d11720cee0ad6d.tar.gz gcc-01578564782255d41967745d43d11720cee0ad6d.tar.bz2 |
simplify-rtx.c (simplify_binary_operation_1 <IOR>): Correct bug introduced 2005-12-16.
* simplify-rtx.c (simplify_binary_operation_1 <IOR>): Correct bug
introduced 2005-12-16.
From-SVN: r108697
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f36c02..f0417ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-17 Alan Modra <amodra@bigpond.net.au> + + * simplify-rtx.c (simplify_binary_operation_1 <IOR>): Correct bug + introduced 2005-12-16. + 2005-12-16 Steven Bosscher <stevenb@suse.de> PR rtl-optimization/23837 diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 7e9f771..3c5da5e 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -1972,7 +1972,7 @@ simplify_binary_operation_1 (enum rtx_code code, enum machine_mode mode, && (INTVAL (XEXP (SUBREG_REG (opleft), 1)) + INTVAL (XEXP (opright, 1)) == GET_MODE_BITSIZE (mode))) return gen_rtx_ROTATE (mode, XEXP (opright, 0), - XEXP (SUBREG_REG (opright), 1)); + XEXP (SUBREG_REG (opleft), 1)); /* If we have (ior (and (X C1) C2)), simplify this by making C1 as small as possible if C1 actually changes. */ |