projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5638ef0
)
(stupid_mark_refs): Only show changes size if one mode is integral.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 12 Aug 1994 18:56:26 +0000
(14:56 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 12 Aug 1994 18:56:26 +0000
(14:56 -0400)
From-SVN: r7905
gcc/stupid.c
patch
|
blob
|
history
diff --git
a/gcc/stupid.c
b/gcc/stupid.c
index f324aeb3a81c90ea28d79a996dcb9dbb0beb496d..e10f2dce459d2049af8cadc2aa6144c06f9330ab 100644
(file)
--- a/
gcc/stupid.c
+++ b/
gcc/stupid.c
@@
-496,7
+496,9
@@
stupid_mark_refs (x, insn)
&& 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)))))
regs_change_size[REGNO (SUBREG_REG (x))] = 1;
/* Register value being used, not set. */