2016-11-09 Paul Thomas <pault@gcc.gnu.org>
commitdf16363436e7bfc7380e78cd2aa5a6d354bd049e
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2016 10:10:41 +0000 (9 10:10 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2016 10:10:41 +0000 (9 10:10 +0000)
tree0d8e1de5220e91df46a0b4b6535bac00cdaf549a
parent0c3d1ddf5d3278f1d1ea84902d3803d5b7c6fecd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241995 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/move_alloc_18.f90 [new file with mode: 0644]