This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR25730 - ICE in gfc_conv_component_ref, triggered by character component references.
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: paul dot richard dot thomas at cea dot fr (THOMAS Paul Richard 169137)
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, andrea dot bedini at gmail dot com, salvatore dot filippone at uniroma2 dot it
- Date: Tue, 10 Jan 2006 09:29:16 -0500 (EST)
- Subject: Re: [Patch, fortran] PR25730 - ICE in gfc_conv_component_ref, triggered by character component references.
>
> :ADDPATCH fortran:
>
> This regression is due to my having forgotten to copy character length backend declarations, whilst copying derived type backend declarations in trans-type(copy_dt_decls_ifequal). The result is that some character components do not have a backend declaration and the ICE is triggered. The enclosed patch fixes the problem.
>
> I intend to commit to trunk and 4.1 tomorrow morning, invoking the obvious rule, unless anybody objects. The reason is that this is an obvious omission on my part and it does not change the principle of the original patch.
>
> Bootstrapped and regtested on Cygwin_NT/PIV. OK?
This looks good.
> 2005-01-10 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/25730
> * trans-types.c (copy_dt_decls_ifequal): Copy backend decl for
> character lengths.
>
> 2006-01-10 Andrea Bedini <andrea.bedini@gmail.com>
>
> PR fortran/25730
> * gfortran.dg/used_types_1.f90: New test.
Though the testsuite changelog should be your name and not Andrea so that we can talk
to the person who added the test and not who the test came from.
Thanks,
Andrew Pinski