[PATCH, fortran, final] PR fortran/60255 Deferred character length

Dominique d'Humières dominiq@lps.ens.fr
Mon Dec 29 16:46:00 GMT 2014


For the record, compiling the tests in pr61337 with the patch applied on top of r219099 gives ICEs:

   use array_list
 1
internal compiler error: in gfc_advance_chain, at fortran/trans.c:58

Since this replaces some wrong-code generation by some ICEs, I don’t think this should delay the fix of pr60255.

Cheers,

Dominique

> Le 29 déc. 2014 à 11:07, Andre Vehreschild <vehre@gmx.de> a écrit :
> 
> Hi all,
> 
> attached is the patch and changelog for fixing pr60255. All comments I received
> have been integrated into the current patch, therefore I submit this patch as
> final and hope to see it in trunk soon. 
> 
> The patch fixes the assignment of deferred length char arrays to unlimited
> polymorphic entities by introducing a _len component.
> 
> Bootstrapped and regtested ok on x86_64-linux-gnu.
> 
> As my system is rather slow in bootstrapping and regtesting here a preview of
> what I plan to submit in the next two days:
> - patch on pr60289: Took the proposal from Janus and extended to pass all
>  regtests and introduced new testcase.
> - patch on pr60357 and pr55901: This incorporates Paul's patch on pr55901,
>  which I had to modify and extend to handle allocatable components including
>  deferred char arrays. I furthermore contains a patch from Tobias to correct
>  the attribute transport from the module to its place of use, which I adapted
>  to fully fix pr60357.
> 
> Regards,
> 	Andre
> -- 
> Andre Vehreschild * Kreuzherrenstr. 8 * 52062 Aachen
> Tel.: +49 241 9291018 * Email: vehre@gmx.de 



More information about the Gcc-patches mailing list