* reload.c (get_secondary_mem): Don't widen floating-point modes.

From-SVN: r34218
This commit is contained in:
Geoff Keating 2000-05-28 01:07:18 +00:00 committed by Geoffrey Keating
parent ed8afe3ab0
commit 4f9e07666b
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2000-05-27 Geoff Keating <geoffk@cygnus.com>
* reload.c (get_secondary_mem): Don't widen floating-point modes.
* combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
substituting the REG in a (subreg:X (reg:Y ...)).

View File

@ -587,7 +587,7 @@ get_secondary_mem (x, mode, opnum, type)
#ifdef SECONDARY_MEMORY_NEEDED_MODE
mode = SECONDARY_MEMORY_NEEDED_MODE (mode);
#else
if (GET_MODE_BITSIZE (mode) < BITS_PER_WORD)
if (GET_MODE_BITSIZE (mode) < BITS_PER_WORD && INTEGRAL_MODE_P (mode))
mode = mode_for_size (BITS_PER_WORD, GET_MODE_CLASS (mode), 0);
#endif