]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/19673 (pointer function with RESULT specified returns pointer to "ptr...
authorTobias Schlüter <tobi@gcc.gnu.org>
Fri, 4 Mar 2005 21:03:46 +0000 (22:03 +0100)
committerTobias Schlüter <tobi@gcc.gnu.org>
Fri, 4 Mar 2005 21:03:46 +0000 (22:03 +0100)
commit3852e8b8f21397fc719ef45ba404a58bed53a7d0
treef0571636b2dcf97f0a36a47d2d17869b234b465f
parenta873fcb4353a4d03318eecec0252c344d2cd3a77
re PR fortran/19673 (pointer function with RESULT specified returns pointer to "ptr" rather than "*ptr")

fortran/
PR fortran/19673
* trans-expr.c (gfc_conv_function_call): Correctly dereference
argument from a pointer function also if it has a result clause.

testsuite/
PR fortran/19673
* gfortran.dg/func_result_1.f90: New test.

From-SVN: r95901
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/func_result_1.f90 [new file with mode: 0644]
This page took 0.095053 seconds and 5 git commands to generate.