This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47844] Array stride ignored for pointer-valued function results
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 08 Oct 2011 10:18:56 +0000
- Subject: [Bug fortran/47844] Array stride ignored for pointer-valued function results
- Auto-submitted: auto-generated
- References: <bug-47844-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47844
--- Comment #10 from Paul Thomas <pault at gcc dot gnu.org> 2011-10-08 10:18:56 UTC ---
Author: pault
Date: Sat Oct 8 10:18:51 2011
New Revision: 179710
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179710
Log:
2011-10-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47844
* trans-array.c (gfc_conv_array_index_offset): Use descriptor
stride for pointer function results.
2011-10-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47844
* gfortran.dg/pointer_function_result_1.f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pointer_function_result_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog