This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39334] Recusive parameter kind produces segfault
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2009 04:37:50 -0000
- Subject: [Bug fortran/39334] Recusive parameter kind produces segfault
- References: <bug-39334-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pault at gcc dot gnu dot org 2009-07-10 04:37 -------
Subject: Bug 39334
Author: pault
Date: Fri Jul 10 04:37:19 2009
New Revision: 149456
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149456
Log:
2009-07-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39334
* primary.c (match_kind_param): Return MATCH_NO if the symbol
has no value.
2009-07-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/39334
* gfortran.dg/recursive_parameter_1.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/recursive_parameter_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/primary.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39334