------- Comment #5 from burnus at gcc dot gnu dot org  2007-04-12 09:46 -------
Subject: Bug 31472

Author: burnus
Date: Thu Apr 12 09:46:30 2007
New Revision: 123735

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123735
Log:
2007-04-12  Tobias Burnus  <[EMAIL PROTECTED]>

        PR fortran/31472
        * decl.c (match_attr_spec): Allow PRIVATE/PUBLIC
        attribute in type definitions.
        (gfc_match_private): Allow PRIVATE statement only
        in specification part of modules.
        (gfc_match_public): Ditto for PUBLIC.
        (gfc_match_derived_decl): Allow PRIVATE/PUBLIC attribute only in
        specificification part of modules.

2007-04-12  Tobias Burnus  <[EMAIL PROTECTED]>

        PR fortran/31472
        * gfortran.dg/access_spec_1.f90: New test.
        * gfortran.dg/access_spec_2.f90: New test.
        * gfortran.dg/non_module_public.f90: Match new error message.


Added:
    trunk/gcc/testsuite/gfortran.dg/access_spec_1.f90
    trunk/gcc/testsuite/gfortran.dg/access_spec_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/non_module_public.f90


-- 


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

Reply via email to