On 10/03/2017 11:35 AM, Thomas Koenig wrote: > Hello world, > > I have re-thought and simplified the patch for PR49232. > This now uses gfc_is_simply_contiguous, in the > non-strict version. I have also opted for an error > because, well, the use cases rejected by this are really > errors, and will very likely lead to wrong code in > user applications. > > Regression-tested. OK for trunk?
OK Thanks for patch > > Thomas > > 2017-10-03 Thomas Koenig <tkoe...@gcc.gnu.org> > > PR fortran/49232 > * expr.c (gfc_check_pointer_assign): Error > for non-contiguous rhs. > > 2017-10-03 Thomas Koenig <tkoe...@gcc.gnu.org> > > PR fortran/49232 > * gfortran.dg/contiguous_4.f90: New test. >