Commit b0dd4808 by Jan Hubicka Committed by Jan Hubicka

* combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.

From-SVN: r54839
parent 04a704a4
Thu Jun 20 17:25:29 CEST 2002 JAn HUbicka <jh@suse.cz>
* combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2002-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/sol2.h: New file. * config/sol2.h: New file.
......
...@@ -3533,14 +3533,13 @@ subst (x, from, to, in_dest, unique_copy) ...@@ -3533,14 +3533,13 @@ subst (x, from, to, in_dest, unique_copy)
if (GET_CODE (new) == CONST_INT && GET_CODE (x) == SUBREG) if (GET_CODE (new) == CONST_INT && GET_CODE (x) == SUBREG)
{ {
if (VECTOR_MODE_P (GET_MODE (x))) enum machine_mode mode = GET_MODE (x);
return gen_rtx_CLOBBER (VOIDmode, const0_rtx);
x = simplify_subreg (GET_MODE (x), new, x = simplify_subreg (GET_MODE (x), new,
GET_MODE (SUBREG_REG (x)), GET_MODE (SUBREG_REG (x)),
SUBREG_BYTE (x)); SUBREG_BYTE (x));
if (! x) if (! x)
abort (); x = gen_rtx_CLOBBER (mode, const0_rtx);
} }
else if (GET_CODE (new) == CONST_INT else if (GET_CODE (new) == CONST_INT
&& GET_CODE (x) == ZERO_EXTEND) && GET_CODE (x) == ZERO_EXTEND)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment