This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, OOP] PR 60232: The rank of the element in the structure constructor does not match that of the component
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: Janus Weil <janus at gcc dot gnu dot org>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 Feb 2014 11:18:21 +0100
- Subject: Re: [Patch, Fortran, OOP] PR 60232: The rank of the element in the structure constructor does not match that of the component
- Authentication-results: sourceware.org; auth=none
Hi Janus,
Janus Weil wrote:
> The problem is this: When using a dimensionful function as an
> EXPR_VARIABLE (e.g. as the target in a procedure pointer assignment),
> we wrongly add a REF_ARRAY, because we are tricked to believe that the
> expression is dimensionful
> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
Looks good to me. Thanks for the patch!
Tobias