This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR25532 ICE in gfc_conv_component_ref, at fortran/trans-expr.c:269
Hi,
Below is just a typo in a comment.
"delaration" also is misspelled in gcc/ada/vms_data.ads and in
boehm-gc/ChangeLog, fwiw.
cheers,
On Wed, Dec 28, 2005 at 12:06:34PM +0100, Paul Thomas wrote:
>Index: gcc/fortran/trans-types.c
>===================================================================
>*** gcc/fortran/trans-types.c (revision 109038)
>--- gcc/fortran/trans-types.c (working copy)
>*************** copy_dt_decls_ifequal (gfc_symbol *from,
>*** 1414,1421 ****
> to_cm = to->components;
> from_cm = from->components;
>
> for (; to_cm; to_cm = to_cm->next, from_cm = from_cm->next)
>! to_cm->backend_decl = from_cm->backend_decl;
>
> return 1;
> }
>--- 1414,1430 ----
> to_cm = to->components;
> from_cm = from->components;
>
>+ /* Copy the component declarations. If a component is itself
>+ a derived type, we need a copy of its component delarations.
s/delarations/declaration; # declaration with 'c'