[Bug fortran/29051] segfault when too few values are in data statement of character array

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 15 16:31:00 GMT 2006



------- Comment #6 from pault at gcc dot gnu dot org  2006-09-15 16:31 -------
Subject: Bug 29051

Author: pault
Date: Fri Sep 15 16:30:52 2006
New Revision: 116977

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116977
Log:
2006-09-15  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29051
        * decl.c (match_old_style_init): Set the 'where' field of the
        gfc_data structure 'newdata'.

        * match.c (match_case_eos): Add a comprehensible error message.

2006-09-15  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29051
        * gfortran.dg/oldstyle_3.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/oldstyle_3.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/match.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list