This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran, PR 33198] Disallow default initialization of derived types in COMMONs
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Tobias Schlüter" <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: "Fortran List" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 3 Oct 2007 10:36:38 +0100
- Subject: Re: [gfortran, PR 33198] Disallow default initialization of derived types in COMMONs
- References: <46FD79F1.4020607@physik.uni-muenchen.de>
> 2007-09-28 Tobias Schlüter <tobi@gcc.gnu.org>
>
> PR fortran/33198
> fortran/
> * resolve.c (has_default_initializer): Move to top. Make bool.
> (resolve_common_blocks): Simplify logic. Add case for derived
> type initialization.
> (resolve_fl_variable_derived): Split out from ...
> (resolve_fl_variable): ... from here, while adapting to new h_d_i
> interface.
OK. Just make sure you don't commit that:
> diff -r 2ffe2d9f2050 .hgtags
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/.hgtags Fri Sep 28 23:08:23 2007 +0200
> @@ -0,0 +1,1 @@
> +f8ce69e5dcb9bd67ade65c2f4e7076caae157bb4 Failed patch.
;-)