diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 2 |
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; |