re PR fortran/42546 (ALLOCATED statement typo in the docs and for scalar variables)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 6 Aug 2019 19:46:29 +0000 (19:46 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 6 Aug 2019 19:46:29 +0000 (19:46 +0000)
commit1a3920654f92b83a206d62f4eddcf1f5c28a91de
tree5a71336fde8be9945c021f6e582690bee6cf0ebd
parentffc500dd41fd49db8e5ec5022389b664a1a04e6d
re PR fortran/42546 (ALLOCATED statement typo in the docs and for scalar variables)

2019-08-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/42546
* check.c(gfc_check_allocated): Add comment pointing to ...
* intrinsic.c(sort_actual): ... the checking done here.

2019-08-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/42546
* gfortran.dg/allocated_1.f90: New test.
* gfortran.dg/allocated_2.f90: Ditto.

From-SVN: r274147
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocated_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocated_2.f90 [new file with mode: 0644]