projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e38d8
)
(expand_call): Don't call convert_to_mode if we obtained
author
Richard Stallman
<rms@gnu.org>
Sun, 25 Oct 1992 22:50:23 +0000
(22:50 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 25 Oct 1992 22:50:23 +0000
(22:50 +0000)
VALUE in the proper mode; VALUE might be a CONST_INT.
From-SVN: r2604
gcc/calls.c
patch
|
blob
|
history
diff --git
a/gcc/calls.c
b/gcc/calls.c
index 4d6c848bb71f597d5907787f3fdb25c8e709d275..0e003cb17c425296211bdc48eb5b13ab6aff75c9 100644
(file)
--- a/
gcc/calls.c
+++ b/
gcc/calls.c
@@
-1425,7
+1425,7
@@
expand_call (exp, target, ignore)
mode = (GET_CODE (args[i].reg) == EXPR_LIST
? GET_MODE (XEXP (args[i].reg, 0)) : GET_MODE (args[i].reg));
- if (
GET_MODE (args[i].value
) != mode)
+ if (
TYPE_MODE (TREE_TYPE (args[i].tree_value)
) != mode)
args[i].value = convert_to_mode (mode, args[i].value,
args[i].unsignedp);
}