projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c418b
)
(fixup_var_refs_1): Fix error in last change (when mode of VAR is not
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 18 Dec 1995 12:49:21 +0000
(07:49 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 18 Dec 1995 12:49:21 +0000
(07:49 -0500)
the same as PROMOTED_MODE).
From-SVN: r10795
gcc/function.c
patch
|
blob
|
history
diff --git
a/gcc/function.c
b/gcc/function.c
index a1699dc74d95feff3d14ceba914fbc421f14ccca..b62a284f66dd973f77d0eac30ce2253c5b4921e2 100644
(file)
--- a/
gcc/function.c
+++ b/
gcc/function.c
@@
-1979,6
+1979,7
@@
fixup_var_refs_1 (var, promoted_mode, loc, insn, replacements)
&& (GET_CODE (SET_DEST (x)) == REG
|| (GET_CODE (SET_DEST (x)) == SUBREG
&& GET_CODE (SUBREG_REG (SET_DEST (x))) == REG))
+ && GET_MODE (var) == promoted_mode
&& x == single_set (insn))
{
rtx pat;
@@
-2024,6
+2025,7
@@
fixup_var_refs_1 (var, promoted_mode, loc, insn, replacements)
&& (GET_CODE (SET_SRC (x)) == REG
|| (GET_CODE (SET_SRC (x)) == SUBREG
&& GET_CODE (SUBREG_REG (SET_SRC (x))) == REG))
+ && GET_MODE (var) == promoted_mode
&& x == single_set (insn))
{
rtx pat;