This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp4] privatize internal array variables introduced by the fortran FE
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Cesar Philippidis <cesar at codesourcery dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Wed, 14 Oct 2015 13:51:38 +0200
- Subject: Re: [gomp4] privatize internal array variables introduced by the fortran FE
- Authentication-results: sourceware.org; auth=none
- References: <561D65A9 dot 3060903 at codesourcery dot com>
Dear Cesar,
>
> Is there any reason why only certain arrays have array descriptors? The
> arrays with descriptors don't have this problem. It's only the ones
> without descriptors that leak new internal variables that cause errors
> with default(none).
>
This is an obvious question to which there is no obvious answer. When
asked it of one of the originators of gfortran, I was told that they
tried but got into some unspecified mess.
I would add the question as to why characters and scalars do not have
descriptors as well? One day, the volunteer maintainers will have
sorted out enough of the PRs to turn to issues like this. However,
simplification of this kind is just not on the cards at present.
Cheers
Paul