* combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.
From-SVN: r54839
This commit is contained in:
parent
04a704a4aa
commit
b0dd480873
|
@ -1,3 +1,7 @@
|
|||
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>
|
||||
|
||||
* config/sol2.h: New file.
|
||||
|
|
|
@ -3533,14 +3533,13 @@ subst (x, from, to, in_dest, unique_copy)
|
|||
|
||||
if (GET_CODE (new) == CONST_INT && GET_CODE (x) == SUBREG)
|
||||
{
|
||||
if (VECTOR_MODE_P (GET_MODE (x)))
|
||||
return gen_rtx_CLOBBER (VOIDmode, const0_rtx);
|
||||
enum machine_mode mode = GET_MODE (x);
|
||||
|
||||
x = simplify_subreg (GET_MODE (x), new,
|
||||
GET_MODE (SUBREG_REG (x)),
|
||||
SUBREG_BYTE (x));
|
||||
if (! x)
|
||||
abort ();
|
||||
x = gen_rtx_CLOBBER (mode, const0_rtx);
|
||||
}
|
||||
else if (GET_CODE (new) == CONST_INT
|
||||
&& GET_CODE (x) == ZERO_EXTEND)
|
||||
|
|
Loading…
Reference in New Issue