From 9dd04ab53c8790dcb12aa7d4a0396a5ca58432da Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Sat, 8 Mar 2003 19:24:02 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/emit-rtl.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d7daa027d8..f8cacb77310 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-08 Roger Sayle + + * 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 * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index c96bc4e200e..9ba85396901 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -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)); -- 2.30.2