[Fortran] Disable "Assignment to contiguous pointer from non-contiguous target" error
authorCesar Philippidis <cesar@codesourcery.com>
Mon, 8 Oct 2018 14:04:45 +0000 (07:04 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Mon, 8 Oct 2018 14:04:45 +0000 (07:04 -0700)
commited9984a03070a1be7c5b3815e410e6269ab721e4
tree515d6e71de92b43e587a9721bf2602a68d770d96
parent49108562af2b2c0b96090ed0c6b4abbabb3f9080
[Fortran] Disable "Assignment to contiguous pointer from non-contiguous target" error

gcc/fortran/
* expr.c (gfc_check_pointer_assign): Demote "Assignment to
contiguous pointer from non-contiguous target" to a warning.

gcc/testsuite/
* gfortran.dg/contiguous_4.f90: Adjust.
* gfortran.dg/contiguous_4.f90: New test.

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