diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-08 12:02:24 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-08 12:02:24 +0000 |
commit | f996f8fd43d219b4a4b9ffdfefdd3a2284c68833 (patch) | |
tree | 0249c58510929c11e9af22a9c53da370b86446b6 | |
parent | 938eabc9fb847e1226b3ca12ffedbd11e03586d0 (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 303680dab62..535c9651300 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 7 18:27:53 CEST 2001 Jan Hubicka <jh@suse.cz> + + * simplify-rtx.c (simplify_subreg): Fix verification of + combined subreg. + 2001-06-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling. @@ -102,6 +107,7 @@ Thu Jun 7 16:17:40 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> documentation should be added to invoke.texi. Avoid an overfull hbox. +>>>>>>> 1.10276 Thu Jun 7 17:09:50 CEST 2001 Jan Hubicka <jh@suse.cz> * toplev.c (rest_of_compilation): Revert previous patch. 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) |