trans-expr.c (gfc_conv_function_call): Force evaluation of se->expr.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 15 Feb 2008 21:12:24 +0000 (21:12 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 15 Feb 2008 21:12:24 +0000 (21:12 +0000)
commit750606c6b235a3d7e1d5fcdfbc5f3f1f68efcefe
tree717a9d3b9a9d4cada4a008ed5787a7293589e166
parentac84c0623d12bb99990f34f6bfdf0b17ab976ad6
trans-expr.c (gfc_conv_function_call): Force evaluation of se->expr.

* trans-expr.c (gfc_conv_function_call): Force evaluation of
se->expr.

* gfortran.dg/c_loc_tests_12.f03: New test.

From-SVN: r132353
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_loc_tests_12.f03 [new file with mode: 0644]