re PR fortran/85088 (improve diagnostic for bad INTENT declaration ('Invalid characte...
authorJanus Weil <janus@gcc.gnu.org>
Sun, 10 Jun 2018 08:20:50 +0000 (10:20 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 10 Jun 2018 08:20:50 +0000 (10:20 +0200)
commitea20e8be960c53892f3fda4248b77616e7cf1444
tree1070506fea961cca0fcb3dff25e39985cc681c96
parent3a579cbe0781a62146c4ddf430ae0e40c3f75f0f
re PR fortran/85088 (improve diagnostic for bad INTENT declaration ('Invalid character in name at'))

2018-06-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/85088
* decl.c (match_attr_spec): Synchronize the DECL_* enum values with the
INTENT_* values from the enum 'sym_intent'. Call 'match_intent_spec'
and remove a TODO note.
* gfortran.h: Add a comment to sym_intent.

2018-06-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/85088
* gfortran.dg/intent_decl_1.f90: New test case.

From-SVN: r261386
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/intent_decl_1.f90 [new file with mode: 0644]