re PR fortran/47844 (Array stride ignored for pointer-valued function results)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 8 Oct 2011 10:18:51 +0000 (10:18 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 8 Oct 2011 10:18:51 +0000 (10:18 +0000)
commit30a390c8104f9530cd8721e699deecd823fc4e9c
treed83041e7329684cc9e5bb1640494f98255167e1d
parent2758ee999024e2142f491114d4c256e7fcd51457
re PR fortran/47844 (Array stride ignored for pointer-valued function results)

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.

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