decl.c (attr_seen): New static variable.
authorFritz Reese <Reese-Fritz@zai.com>
Thu, 10 Aug 2017 12:19:13 +0000 (12:19 +0000)
committerFritz Reese <foreese@gcc.gnu.org>
Thu, 10 Aug 2017 12:19:13 +0000 (12:19 +0000)
commit6f855a26ab2d30bc7f3b0cfec456e2b27e63b9a7
treedf39d4d0185d28f1f57d1ffac7bf3ade3be9c485
parentf234f0787e0ab940d49d9e90911c089bcb35d7f1
decl.c (attr_seen): New static variable.

2017-08-10  Fritz Reese <Reese-Fritz@zai.com>

    gcc/fortran/ChangeLog:

* decl.c (attr_seen): New static variable.
* decl.c (variable_decl): Match %FILL in STRUCTURE body.
* gfortran.texi: Update documentation.

    gcc/testsuite/ChangeLog:

    gfortran.dg/
* dec_structure_18.f90, dec_structure_19.f90, dec_structure_20.f90,
dec_structure_21.f90: New.

From-SVN: r251023
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dec_structure_18.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/dec_structure_19.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/dec_structure_20.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/dec_structure_21.f90 [new file with mode: 0644]