check.c (gfc_check_move_alloc): Prevent error that avoids aliasing between to and...
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 9 Nov 2016 10:10:41 +0000 (10:10 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 9 Nov 2016 10:10:41 +0000 (10:10 +0000)
commitbfcb501d83778b8f2b4cc52672b940e62e611e17
tree0d8e1de5220e91df46a0b4b6535bac00cdaf549a
parente15861c2da5fc3b5822eedb8669c7331a6edda00
check.c (gfc_check_move_alloc): Prevent error that avoids aliasing between to and from arguments from rejecting...

2016-11-09  Paul Thomas  <pault@gcc.gnu.org>

* check.c (gfc_check_move_alloc): Prevent error that avoids
aliasing between to and from arguments from rejecting valid
code.

2016-11-09  Paul Thomas  <pault@gcc.gnu.org>

* gfortran.dg/move_alloc_18.f90: New test.

From-SVN: r241995
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/move_alloc_18.f90 [new file with mode: 0644]