This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33529] Non-litteral CHARACTER kind values matching is wrong



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]