[Bug fortran/49232] Pointer assignment of stride to CONTIGUOUS pointer not diagnosed as invalid
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 7 11:49:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49232
--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Oct 7 11:48:28 2017
New Revision: 253509
URL: https://gcc.gnu.org/viewcvs?rev=253509&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/contiguous_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list