re PR fortran/13826 (Derived types in DATA statements not PARAMETERs)
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sat, 15 May 2004 18:02:20 +0000 (20:02 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sat, 15 May 2004 18:02:20 +0000 (20:02 +0200)
commitd663434b6cd9ae8cbaac50a8c1dcff317594184d
treea2f7e67e6e38ab33d08e077762d35c4386c5e8b1
parentf437e359921603b19e22c44b44f6bb64c199b04f
re PR fortran/13826 (Derived types in DATA statements not PARAMETERs)

fortran:
PR fortran/13826
* primary.c (match_structure_constructor): Rename ...
(gfc_match_structure_constructor): ... to this. Make non-static.
(gfc_match_rvalue): Call renamed function.
* match.h (gfc_match_structure_constructor): Declare.
* match.c (gfc_match_data_constant): Handle structure
constructor.

testsuite:
PR fortran/13826
* gfortran.fortran-torture/compile/data_1.f90: New test.

From-SVN: r81891
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/fortran/match.h
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile/data_1.f90 [new file with mode: 0644]