This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30799] Inconsistent handling of bad (invalid) LOGICAL kinds
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2007 02:03:11 -0000
- Subject: [Bug fortran/30799] Inconsistent handling of bad (invalid) LOGICAL kinds
- References: <bug-30799-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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