This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, fortran, final] PR fortran/60255 Deferred character length
- From: Dominique d'HumiÃres <dominiq at lps dot ens dot fr>
- To: Andre Vehreschild <vehre at gmx dot de>
- Cc: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Janus Weil <janus at gcc dot gnu dot org>, Mikael Morin <mikael dot morin at sfr dot fr>, Antony Lewis <antony at cosmologist dot info>
- Date: Mon, 29 Dec 2014 16:32:27 +0100
- Subject: Re: [PATCH, fortran, final] PR fortran/60255 Deferred character length
- Authentication-results: sourceware.org; auth=none
- References: <20140817123221 dot 31BBB105 at mailhost dot lps dot ens dot fr> <20141208183840 dot 45364899 at gmx dot de> <CAGkQGiKS59zcpL2-zjK5O=NCWU=iTVdrF7wkPdfuZuy6TbUjgg at mail dot gmail dot com> <49705BAA-594C-476D-BE1C-20E1AFEE7F98 at lps dot ens dot fr> <995250F1-3C25-4459-8659-E6CF3CCB2740 at lps dot ens dot fr> <20141218194131 dot 1c43e206 at gmx dot de> <A7A659FD-B79C-4D85-ABEC-5DD0C845E043 at lps dot ens dot fr> <20141229110738 dot 4488ceba at gmx dot de>
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
- References:
- Re: [RFC, PATCH, fortran] PR fortran/60255 Deferred character length
- Re: [RFC, PATCH, fortran] PR fortran/60255 Deferred character length
- From: Dominique d'HumiÃres
- Re: [RFC, PATCH, fortran] PR fortran/60255 Deferred character length
- From: Dominique d'HumiÃres
- Re: [RFC, PATCH, fortran] PR fortran/60255 Deferred character length
- Re: [RFC, PATCH, fortran] PR fortran/60255 Deferred character length
- From: Dominique d'HumiÃres
- [PATCH, fortran, final] PR fortran/60255 Deferred character length