re PR fortran/29051 (segfault when too few values are in data statement of character...
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 15 Sep 2006 16:30:52 +0000 (16:30 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 15 Sep 2006 16:30:52 +0000 (16:30 +0000)
commit8c5c0b80a45b77182c83c950fb9c7443859d7d98
tree2ee9a5e258ea7946f8f29aa839fb77c92adbaa72
parent906d8c784a5e3e9819238cd3f6e253f6f13f8657
re PR fortran/29051 (segfault when too few values are in data statement of character array)

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.

From-SVN: r116977
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/oldstyle_3.f90 [new file with mode: 0644]