decl.c (match_attr_spec): Pass on errors from gfc_match_bind_c.
authorJanus Weil <jaydub66@gmail.com>
Wed, 22 Aug 2007 21:11:13 +0000 (21:11 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 22 Aug 2007 21:11:13 +0000 (23:11 +0200)
commit129d15a3e011dd6f48865673f70396a957c4deff
tree173c6a444df12265712ebd7e0ceddf0ff276c15c
parentf11b235171696c8b04a850fa071a6d251b3cd533
decl.c (match_attr_spec): Pass on errors from gfc_match_bind_c.

2007-08-22  Janus Weil  <jaydub66@gmail.com>

* decl.c (match_attr_spec): Pass on errors from gfc_match_bind_c.
(gfc_match_bind_c): Bugfix in check for NAME= with abstract interfaces.
(gfc_match_mopdproc): Bugfix to reject module procedures in
abstract interfaces.

2007-08-22  Janus Weil  <jaydub66@gmail.com>

* interface_abstract_1.f90: Extended test case.
* interface_abstract_3.f90: New test.

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