2016-01-10 Paul Thomas <pault@gcc.gnu.org>
commit40c86c3b9e34cac5c916c7a3ac0de6ab7da7af4c
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Jan 2016 12:56:28 +0000 (10 12:56 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Jan 2016 12:56:28 +0000 (10 12:56 +0000)
tree8db8d7d0db37f77d9cc1bcaaff023ba63e0748a2
parenta006c0bb7e05788e78f7968108e7a218d08a5ca3
2016-01-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/67779
* trans_array.c (gfc_conv_scalarized_array_ref): Add missing
se->use_offset from condition for calculation of 'base'.

2016-01-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/67779
* gfortran.dg/actual_array_offset_1: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232200 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/actual_array_offset_1.f90 [new file with mode: 0644]