[patch, fortran] Error for non-contiguous pointers
Jerry DeLisle
jvdelisle@charter.net
Sat Oct 7 01:46:00 GMT 2017
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 <tkoenig@gcc.gnu.org>
>
> Â Â Â Â Â Â Â PR fortran/49232
> Â Â Â Â Â Â Â * expr.c (gfc_check_pointer_assign): Error
> Â Â Â Â Â Â Â for non-contiguous rhs.
>
> 2017-10-03 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> Â Â Â Â Â Â Â PR fortran/49232
> Â Â Â Â Â Â Â * gfortran.dg/contiguous_4.f90: New test.
>
More information about the Fortran
mailing list