summaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/simplify-rtx.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c5238646b0b..eeedbaf0ce1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2001-07-11 Richard Sandiford <rsandifo@redhat.com>
+ * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
+
+2001-07-11 Richard Sandiford <rsandifo@redhat.com>
+
* config/mips/mips.c (gen_int_relational): Tell the caller not to
reverse a branch if a NE comparison is implemented with GTU.
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;