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/30799] Inconsistent handling of bad (invalid) LOGICAL kinds



------- Comment #3 from kargl at gcc dot gnu dot org  2007-02-15 02:03 -------
Subject: Bug 30799

Author: kargl
Date: Thu Feb 15 02:02:56 2007
New Revision: 121975

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121975
Log:
2007-02-14  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/30799
        * primary.c (match_logical_constant): Return MATCH_ERROR on invalid
kind.
        * gfortran.dg/logical_2.f90: New test.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/logical_2.f90
Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/primary.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30799


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