[Bug fortran/31251] Non-integer character length leads to segfault
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 6 04:11:00 GMT 2007
------- Comment #17 from jvdelisle at gcc dot gnu dot org 2007-05-06 05:11 -------
Subject: Bug 31251
Author: jvdelisle
Date: Sun May 6 04:10:53 2007
New Revision: 124469
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124469
Log:
2007-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/31251
* decl.c (match_char_spec): Add check for invalid character lengths.
2007-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/31251
* gfortran.dg/char_type_len_2.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/char_type_len_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31251
More information about the Gcc-bugs
mailing list