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

Andre Vehreschild vehre@gmx.de
Tue Dec 30 14:50:00 GMT 2014


Hi Dominique,

thanks for pointing that out. That was caused by a flaw in the current patch.
In the attached version this is fixed now.

Bootstraps and regtests ok on x86_64-linux-gnu.

Regards,
	Andre

On Mon, 29 Dec 2014 16:32:27 +0100
Dominique d'Humières <dominiq@lps.ens.fr> wrote:

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


-- 
Andre Vehreschild * Kreuzherrenstr. 8 * 52062 Aachen
Tel.: +49 241 9291018 * Email: vehre@gmx.de 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr60255_6.clog
Type: application/octet-stream
Size: 1252 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141230/0fbd81fb/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr60255_6.patch
Type: text/x-patch
Size: 23713 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141230/0fbd81fb/attachment.bin>


More information about the Gcc-patches mailing list