[Patch, fortran] PR25730 - ICE in gfc_conv_component_ref, triggered by character component references.

Andrew Pinski pinskia@physics.uc.edu
Tue Jan 10 14:29:00 GMT 2006


> 
> :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



More information about the Gcc-patches mailing list