* simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes.
authorRichard Sandiford <rsandifo@redhat.com>
Wed, 11 Jul 2001 09:41:34 +0000 (09:41 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 11 Jul 2001 09:41:34 +0000 (09:41 +0000)
From-SVN: r43933

gcc/ChangeLog
gcc/simplify-rtx.c

index c5238646b0b5849c79c2b9d68b2689574ef980b9..eeedbaf0ce1dde861bfc097ce53901c610e50ecb 100644 (file)
@@ -1,3 +1,7 @@
+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
index b5006d83de39fd9a4d17568b99cf95ba92e35def..a455f417023087d67f7651bcb27372cc3b8129e1 100644 (file)
@@ -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;