summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 12:02:24 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 12:02:24 +0000
commitf996f8fd43d219b4a4b9ffdfefdd3a2284c68833 (patch)
tree0249c58510929c11e9af22a9c53da370b86446b6 /gcc/simplify-rtx.c
parent938eabc9fb847e1226b3ca12ffedbd11e03586d0 (diff)
downloadgcc-f996f8fd43d219b4a4b9ffdfefdd3a2284c68833.tar.gz
* simplify-rtx.c (simplify_subreg): Fix verification of
combined subreg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 97d6f6bc709..39c30154d39 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -2327,7 +2327,7 @@ simplify_subreg (outermode, op, innermode, byte)
}
/* See whether resulting subreg will be paradoxical. */
- if (GET_MODE_SIZE (innermostmode) < GET_MODE_SIZE (outermode))
+ if (GET_MODE_SIZE (innermostmode) > GET_MODE_SIZE (outermode))
{
/* In nonparadoxical subregs we can't handle negative offsets. */
if (final_offset < 0)