aboutsummaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2001-06-08 12:02:24 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2001-06-08 12:02:24 +0000
commit2fe7bb353a00133df8adf8bb525f37b6c3f1d4af (patch)
tree0249c58510929c11e9af22a9c53da370b86446b6 /gcc/simplify-rtx.c
parent64b172fed5b5498cc570629b400048a040b9522c (diff)
downloadgcc-2fe7bb353a00133df8adf8bb525f37b6c3f1d4af.zip
gcc-2fe7bb353a00133df8adf8bb525f37b6c3f1d4af.tar.gz
gcc-2fe7bb353a00133df8adf8bb525f37b6c3f1d4af.tar.bz2
simplify-rtx.c (simplify_subreg): Fix verification of combined subreg.
* simplify-rtx.c (simplify_subreg): Fix verification of combined subreg. From-SVN: r43008
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 97d6f6b..39c3015 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)