re PR fortran/83664 (Eoshift accepts missing boundary for non-default types)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 3 Jan 2018 11:31:20 +0000 (11:31 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 3 Jan 2018 11:31:20 +0000 (11:31 +0000)
commit8987beac8c4bf6e0b99cb298126041da21964ca4
tree4195b7cc7ad021cb2d0747dbe320cb20986f656a
parentb853346e2c2ea98e35c6043712303a5fc8b87dd8
re PR fortran/83664 (Eoshift accepts missing boundary for non-default types)

2018-01-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/83664
* check.c (gfc_check_eoshift): Error for missing boundary if array
is not one of the standard types.

2018-01-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/83664
* gfortran.dg/eoshift_7.f90: New test.

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