emit-rtl.c (gen_lowpart): Don't attempt to load a part of a complex or vector type...

* emit-rtl.c (gen_lowpart): Don't attempt to load a part of
	a complex or vector type, using a load in the original mode.

From-SVN: r64000
This commit is contained in:
Roger Sayle 2003-03-08 19:24:02 +00:00 committed by Hans-Peter Nilsson
parent 0e1363428d
commit 9dd04ab53c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-03-08 Roger Sayle <roger@eyesopen.com>
* emit-rtl.c (gen_lowpart): Don't attempt to load a part of
a complex or vector type, using a load in the original mode.
Sat Mar 8 19:22:30 CET 2003 Jan Hubicka <jh@suse.cz>
* Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.

View File

@ -1374,6 +1374,7 @@ gen_lowpart (mode, x)
/* The following exposes the use of "x" to CSE. */
if (GET_MODE_SIZE (GET_MODE (x)) <= UNITS_PER_WORD
&& SCALAR_INT_MODE_P (GET_MODE (x))
&& ! no_new_pseudos)
return gen_lowpart (mode, force_reg (GET_MODE (x), x));