aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 58a1c07..39dde67 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -779,7 +779,7 @@ setup_one_parameter (inline_data *id, tree p, tree value,
the argument to the proper type in case it was promoted. */
if (value)
{
- tree rhs = convert (TREE_TYPE (var), value);
+ tree rhs = fold_convert (TREE_TYPE (var), value);
if (rhs == error_mark_node)
return;