[Bug fortran/47844] Array stride ignored for pointer-valued function results
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 8 10:19:00 GMT 2011
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
More information about the Gcc-bugs
mailing list