[PATCH,fortran]: fix for PR 33040

Tobias Burnus burnus@net-b.de
Tue Sep 11 16:43:00 GMT 2007


François-Xavier Coudert wrote:
>> 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
As Chris has to my knowledge no SVN account: Comitted as Rev. 128385.

Thanks Chris for fixing the bug and thanks FX for reviewing.

Tobias



More information about the Gcc-patches mailing list