PR fortran/33529
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2007 15:08:14 +0000 (15:08 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2007 15:08:14 +0000 (15:08 +0000)
commit333992083587f543b4162238685c7ec6fdf40f30
tree2508d1baf30928452ed3c8ece378720e26818a34
parentf2bb610fe8816fb0d5ab5476e322dc2a21e72578
PR fortran/33529

* decl.c (match_char_kind): New function.
(match_char_spec): Use match_char_kind.

* gfortran.dg/char_type_len_2.f90: Adjust error message.
* gfortran.dg/char_decl_2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129012 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_decl_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/char_type_len_2.f90