Commit b0896310 by Tobias Burnus

Fortran] Use proper type for hidden is-present argument

        gcc/fortran/
        * trans-expr.c (gfc_conv_procedure_call): Fold hidden
        is-present argument to the right type.

From-SVN: r278114
parent efc40c1f
2019-11-13 Tobias Burnus <tobias@codesourcery.com>
* trans-expr.c (gfc_conv_procedure_call): Fold hidden
is-present argument to the right type.
2019-11-12 Harald Anlauf <anlauf@gmx.de> 2019-11-12 Harald Anlauf <anlauf@gmx.de>
PR fortran/81651 PR fortran/81651
......
...@@ -5750,7 +5750,9 @@ gfc_conv_procedure_call (gfc_se * se, gfc_symbol * sym, ...@@ -5750,7 +5750,9 @@ gfc_conv_procedure_call (gfc_se * se, gfc_symbol * sym,
fold_convert (TREE_TYPE (parmse.expr), fold_convert (TREE_TYPE (parmse.expr),
integer_zero_node)); integer_zero_node));
vec_safe_push (optionalargs, tmp); vec_safe_push (optionalargs,
fold_convert (boolean_type_node,
tmp));
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment