This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31629] option to make module entities PRIVATE by default



------- Comment #7 from fxcoudert at gcc dot gnu dot org  2007-08-12 20:20 -------
Subject: Bug 31629

Author: fxcoudert
Date: Sun Aug 12 20:19:59 2007
New Revision: 127381

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127381
Log:
        PR fortran/31629

        * lang.opt (-fmodule-private): New option.
        * gfortran.h (gfc_option_t): Add flag_module_private member.
        * invoke.texi (-fmodule-private): Document the new option.
        * module.c (gfc_check_access): Allow the -fmodule-private option
        to modify the default behaviour.
        * options.c (gfc_init_options): Initialize flag_module_private.
        (gfc_handle_option): Handle -fmodule-private.

        * gfortran.dg/module_private_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/module_private_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/lang.opt
    trunk/gcc/fortran/module.c
    trunk/gcc/fortran/options.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]