summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-08-12 18:56:03 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-08-12 18:56:03 +0000
commitdd279ccda648a99e6a5407b7d0c4bfe7d71d7945 (patch)
tree5a20bb87508fef8218a4499b49f3fe05440a8bcf /gcc/flow.c
parent1fc0d36d8ce72acedfe23f4992d1f6ecf97602ab (diff)
downloadgcc-dd279ccda648a99e6a5407b7d0c4bfe7d71d7945.tar.gz
(mark_used_regs): Only show changes size if one mode is integral.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7904 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 56c5ca737e1..cc77429cc18 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -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. */