This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,fortran]: fix for PR 33040
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Christopher D. Rickett" <crickett at lanl dot gov>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Sep 2007 10:58:21 +0100
- Subject: Re: [PATCH,fortran]: fix for PR 33040
- References: <Pine.LNX.4.64.0709101519310.5318@lennox.lanl.gov>
> 2007-09-10 Christopher D. Rickett <crickett@lanl.gov>
>
> PR fortran/33040
> * trans-expr.c (gfc_trans_structure_assign): Convert component
> C_NULL_PTR and C_NULL_FUNPTR component initializers to (void *).
> * trans-types.c (gfc_get_derived_type): Create a backend_decl for
> the c_address field of C_PTR and C_FUNPTR and ensure initializer
> is of proper type/kind for (void *).
OK, thanks!