[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:39:00 GMT 2006



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

Author: pault
Date: Fri Sep 15 16:38:51 2006
New Revision: 116978

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116978
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:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/oldstyle_3.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/decl.c
    branches/gcc-4_1-branch/gcc/fortran/match.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list