This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30625] Array pointers to components of derived type arrays do not work
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2007 19:20:25 -0000
- Subject: [Bug fortran/30625] Array pointers to components of derived type arrays do not work
- References: <bug-30625-10374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paulthomas2 at wanadoo dot fr 2007-02-02 19:20 -------
Subject: Re: Array pointers to components of derived type
arrays do not work
dfranke at gcc dot gnu dot org wrote:
> ------- Comment #4 from dfranke at gcc dot gnu dot org 2007-02-01 11:28 -------
> As I came across this once more: is it possible to issue a compile-time warning
> that "array pointers to components of derived type arrays" are allowed by the
> standard but are not yet implemented in gfortran (gfc_todo, maybe)?
>
> This would prevent some users (e.g. me) from using it right now. If otherwise
> the code compiles fine, one silently gets unusable results ...
>
>
>
Daniel,
I'll see what I can come up with - I have also been feeling round the
edges of how this might be cured. Implementation of F2003 classes will
require another field in the descriptor. I am trying to figure out how
best to do this without completely breaking the library API but I
am attempting to design this field to fulfill both functions.
Best regards
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30625