[Bug fortran/52846] [F2008] Support submodules - part 3/3

Marek Polacek polacek@redhat.com
Wed Jul 29 15:12:00 GMT 2015


On Wed, Jul 29, 2015 at 05:08:19PM +0200, Paul Richard Thomas wrote:
> Index: gcc/fortran/module.c
> ===================================================================
> *** gcc/fortran/module.c	(revision 226054)
> --- gcc/fortran/module.c	(working copy)
> *************** read_module (void)
> *** 5283,5291 ****
> --- 5283,5296 ----
>      PRIVATE, then private, and otherwise it is public unless the default
>      access in this context has been declared PRIVATE.  */
> 
> + static bool dump_smod = false;

Why do you initialize a static variable to false?

	Marek



More information about the Fortran mailing list