re PR fortran/36361 (attribute declaration outside of INTERFACE body)
authorJanus Weil <janus@gcc.gnu.org>
Mon, 2 Jun 2008 21:50:23 +0000 (23:50 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 2 Jun 2008 21:50:23 +0000 (23:50 +0200)
commite62532afd777edea4d3eeb1963060f75952319ca
tree9408c03560055917d4f9cd80a0cb49ed50dc1761
parent80d7287f402d124caef566cbcbe023ebfab62f28
re PR fortran/36361 (attribute declaration outside of INTERFACE body)

2008-06-02  Janus Weil  <janus@gcc.gnu.org>

PR fortran/36361
* symbol.c (gfc_add_allocatable,gfc_add_dimension,
gfc_add_explicit_interface): Added checks.
* decl.c (attr_decl1): Added missing "var_locus".
* parse.c (parse_interface): Checking for errors.

2008-06-02  Janus Weil  <janus@gcc.gnu.org>

PR fortran/36361
* gfortran.dg/interface_24.f90: New.

From-SVN: r136296
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/parse.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/interface_24.f90 [new file with mode: 0644]