decl.c (gfc_match_structure_decl): Make gfc_structure_id static.
authorFritz Reese <fritzoreese@gmail.com>
Tue, 23 Aug 2016 19:33:46 +0000 (19:33 +0000)
committerFritz Reese <foreese@gcc.gnu.org>
Tue, 23 Aug 2016 19:33:46 +0000 (19:33 +0000)
commitcfe37db47a363d243f4e2e0a7d6b9b1bf429934b
tree80862b35f5b1ead92f59deb4d9d9c57f7a4dacc1
parentc0ccddb46c11be096ab3b843b5b48104a11a7485
decl.c (gfc_match_structure_decl): Make gfc_structure_id static.

2016-08-23  Fritz Reese  <fritzoreese@gmail.com>

gcc/fortran/
* decl.c (gfc_match_structure_decl): Make gfc_structure_id static.

gcc/testsuite/gfortran.dg/
* dec_structure_12.f90: New testcase.

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