This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33529] Non-litteral CHARACTER kind values matching is wrong
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2007 15:08:29 -0000
- Subject: [Bug fortran/33529] Non-litteral CHARACTER kind values matching is wrong
- References: <bug-33529-15125@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-10-04 15:08 -------
Subject: Bug 33529
Author: fxcoudert
Date: Thu Oct 4 15:08:14 2007
New Revision: 129012
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129012
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/char_decl_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/char_type_len_2.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33529