X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Ffortran%2Ftrans-stmt.c;h=03ff0fee92bd88ef43223ecf408a6320074cde26;hp=08ba113cc0750226f03fd821762f13a8e276ff03;hb=4e8e57b0ce67551ca61b7883e73586ba805f0a61;hpb=9c384dcabc464328ebe0e4da1da978416882e344 diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c index 08ba113cc07..03ff0fee92b 100644 --- a/gcc/fortran/trans-stmt.c +++ b/gcc/fortran/trans-stmt.c @@ -334,7 +334,8 @@ gfc_trans_call (gfc_code * code, bool dependency_check) /* Translate the call. */ has_alternate_specifier - = gfc_conv_function_call (&se, code->resolved_sym, code->ext.actual); + = gfc_conv_function_call (&se, code->resolved_sym, code->ext.actual, + NULL_TREE); /* A subroutine without side-effect, by definition, does nothing! */ TREE_SIDE_EFFECTS (se.expr) = 1; @@ -399,7 +400,8 @@ gfc_trans_call (gfc_code * code, bool dependency_check) gfc_init_block (&block); /* Add the subroutine call to the block. */ - gfc_conv_function_call (&loopse, code->resolved_sym, code->ext.actual); + gfc_conv_function_call (&loopse, code->resolved_sym, code->ext.actual, + NULL_TREE); gfc_add_expr_to_block (&loopse.pre, loopse.expr); gfc_add_block_to_block (&block, &loopse.pre);