From bd77ba510b469f632c92c9959b2fb591a9eb7c17 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 11 Jul 2001 09:41:34 +0000 Subject: [PATCH] * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes. From-SVN: r43933 --- gcc/ChangeLog | 4 ++++ gcc/simplify-rtx.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5238646b0b..eeedbaf0ce1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-07-11 Richard Sandiford + + * simplify-rtx.c (simplify_gen_subreg): Return null for QUEUED rtxes. + 2001-07-11 Richard Sandiford * config/mips/mips.c (gen_int_relational): Tell the caller not to 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; -- 2.30.2