[Patch, fortran] gfc_add_field_to_struct refactoring
Tobias Burnus
burnus@net-b.de
Thu Jul 8 20:07:00 GMT 2010
Mikael Morin wrote:
> That code was creating a FIELD_DECL and adding it, as backend_decl for
> C_PTR's hidden C_ADDRESS field, and as TYPE_FIELDS for the containing
> type (which is a void pointer type).
> As the field is hidden, it should not be accessible from the
> front-end, and as the containing type is a void pointer type, the
> middle-end should not try to access its TYPE_FIELDS.
>
> The testsuite run is more than halfway now without new failures
> OK for trunk, if it passes?
OK. Thanks for the patch!
Tobias
More information about the Fortran
mailing list