primary.c: New private structure "gfc_structure_ctor_component".
authorDaniel Kraft <d@domob.eu>
Fri, 16 May 2008 06:52:14 +0000 (08:52 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 16 May 2008 06:52:14 +0000 (08:52 +0200)
commitfa9290d3b9b4b1d981a25c06d8450b88d022f6ed
tree0e1d9f53ecc1b39324f0851d428961ad945886f1
parentd0208f9b647dc20ca5e1cff958f81c063ff25a17
primary.c: New private structure "gfc_structure_ctor_component".

2008-05-16  Daniel Kraft  <d@domob.eu>

        * primary.c:  New private structure "gfc_structure_ctor_component".
        (gfc_free_structure_ctor_component):  New helper function.
        (gfc_match_structure_constructor):  Extended largely to support named
        arguments and default initialization for structure constructors.

2008-05-16  Daniel Kraft  <d@domob.eu>

        * gfortran.dg/private_type_6.f90:  Adapted expected error messages.
        * gfortran.dg/structure_constructor_1.f03:  New test.
        * gfortran.dg/structure_constructor_2.f03:  New test.
        * gfortran.dg/structure_constructor_3.f03:  New test.
        * gfortran.dg/structure_constructor_4.f03:  New test.
        * gfortran.dg/structure_constructor_5.f03:  New test.
        * gfortran.dg/structure_constructor_6.f03:  New test.
        * gfortran.dg/structure_constructor_7.f03:  New test.
        * gfortran.dg/structure_constructor_8.f03:  New test.
        * gfortran.dg/structure_constructor_9.f90:  New test.

From-SVN: r135410
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/private_type_6.f90
gcc/testsuite/gfortran.dg/structure_constructor_1.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_2.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_3.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_4.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_5.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_6.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_7.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_8.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/structure_constructor_9.f90 [new file with mode: 0644]