]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-array.cc
re PR fortran/31692 (Wrong code when passing function name as result to procedures)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 8 May 2007 12:45:31 +0000 (12:45 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 8 May 2007 12:45:31 +0000 (12:45 +0000)
commitb2b247f9864d751c6ebf696292b93b477d2c6c96
tree2126533d0ca55b44dcb679213e46878622b70f8d
parente8ab09c1bd7bb5de727a5cd9d9ebb22799b4bd0b
re PR fortran/31692 (Wrong code when passing function name as result to procedures)

2007-05-08  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/31692
* trans-array.c (gfc_conv_array_parameter): Convert full array
references to the result of the procedure enclusing the call.

2007-05-08  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/31692
* gfortran.dg/actual_array_result_1.f90: New test.

From-SVN: r124546
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/actual_array_result_1.f90 [new file with mode: 0644]