aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2001-07-11 09:41:34 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2001-07-11 09:41:34 +0000
commitbd77ba510b469f632c92c9959b2fb591a9eb7c17 (patch)
treeb85061d004a0d1ed91d131016cac725fd24f6487
parent4a1b6176b867d97515f9b09ce5ec4ab63e664520 (diff)
downloadgcc-bd77ba510b469f632c92c9959b2fb591a9eb7c17.zip
gcc-bd77ba510b469f632c92c9959b2fb591a9eb7c17.tar.gz
gcc-bd77ba510b469f632c92c9959b2fb591a9eb7c17.tar.bz2
* simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
From-SVN: r43933
-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 c523864..eeedbaf 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 b5006d8..a455f41 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;