check.c (gfc_check_move_alloc): Introduce error to prevent aliasing between to and...
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 5 Nov 2016 14:25:25 +0000 (14:25 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 5 Nov 2016 14:25:25 +0000 (14:25 +0000)
commitc7f587bd0f7eb3e94e31a8b597abc05492e3d074
tree47a574c53dd710543762343e4e69e8f68864bd06
parent92657eb0f617edeebbea1b43f3ca4a5c48702ba2
check.c (gfc_check_move_alloc): Introduce error to prevent aliasing between to and from arguments.

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

* check.c (gfc_check_move_alloc): Introduce error to prevent
aliasing between to and from arguments.

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

* gfortran.dg/move_alloc_17.f03: New test.

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