diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-12 14:56:03 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-12 14:56:03 -0400 |
commit | 5638ef0d7b595d9eb0a42932f0366d89c61ebd49 (patch) | |
tree | 5a20bb87508fef8218a4499b49f3fe05440a8bcf /gcc | |
parent | 04c9e540c7fc6530d41051a2997558c2c6972586 (diff) | |
download | gcc-5638ef0d7b595d9eb0a42932f0366d89c61ebd49.zip gcc-5638ef0d7b595d9eb0a42932f0366d89c61ebd49.tar.gz gcc-5638ef0d7b595d9eb0a42932f0366d89c61ebd49.tar.bz2 |
(mark_used_regs): Only show changes size if one mode is integral.
From-SVN: r7904
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/flow.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2282,7 +2282,9 @@ mark_used_regs (needed, live, x, final, insn) if (GET_CODE (SUBREG_REG (x)) == REG && REGNO (SUBREG_REG (x)) >= FIRST_PSEUDO_REGISTER && (GET_MODE_SIZE (GET_MODE (x)) - != GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))))) + != GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))) + && (INTEGRAL_MODE_P (GET_MODE (x)) + || INTEGRAL_MODE_P (GET_MODE (SUBREG_REG (x))))) reg_changes_size[REGNO (SUBREG_REG (x))] = 1; /* While we're here, optimize this case. */ |