This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31692] Wrong code when passing function name as result to procedures
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 May 2007 12:45:46 -0000
- Subject: [Bug fortran/31692] Wrong code when passing function name as result to procedures
- References: <bug-31692-13327@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pault at gcc dot gnu dot org 2007-05-08 13:45 -------
Subject: Bug 31692
Author: pault
Date: Tue May 8 12:45:31 2007
New Revision: 124546
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124546
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/actual_array_result_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31692