re PR fortran/49232 (Pointer assignment of stride to CONTIGUOUS pointer not diagnosed...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 7 Oct 2017 11:48:28 +0000 (11:48 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 7 Oct 2017 11:48:28 +0000 (11:48 +0000)
commit5abde510b7e2864c18144c658c4a5d26f8dc12d3
tree2b203f2950f7fe7ca5f8344d3962aa131b60d08a
parenta4792d44311895bef287eb9632a1d4936ca8eafb
re PR fortran/49232 (Pointer assignment of stride to CONTIGUOUS pointer not diagnosed as invalid)

2017-10-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/49232
* expr.c (gfc_check_pointer_assign): Error
for non-contiguous rhs.

2017-10-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/49232
* gfortran.dg/contiguous_4.f90: New test.

From-SVN: r253509
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/contiguous_4.f90 [new file with mode: 0644]