summaryrefslogtreecommitdiff
path: root/gcc/simplify-rtx.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 09:41:34 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 09:41:34 +0000
commit3c25a678eadcad18714d0bf3eccb843725582602 (patch)
treeb85061d004a0d1ed91d131016cac725fd24f6487 /gcc/simplify-rtx.c
parent7b2d73d20f320508b456ec69226a6a9fbfa2ce0b (diff)
downloadgcc-3c25a678eadcad18714d0bf3eccb843725582602.tar.gz
* simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r--gcc/simplify-rtx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index b5006d83de3..a455f417023 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -2446,6 +2446,9 @@ simplify_gen_subreg (outermode, op, innermode, byte)
|| byte >= GET_MODE_SIZE (innermode))
abort ();
+ if (GET_CODE (op) == QUEUED)
+ return NULL_RTX;
+
new = simplify_subreg (outermode, op, innermode, byte);
if (new)
return new;