This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] [2/5] PR 45648: Inline transpose part 2: Take transposed dimensions into account whilst checking for full array
On Tuesday 21 September 2010 15:50:55 Paul Richard Thomas wrote:
> Mikael,
>
> This is OK.
>
> What would be the consequence of putting the additional code in
> gfc_full_array_ref_p?
Hello,
this is not possible (at least with the current code) as info->ref doesn't
have the order in which dimensions are accessed (which is in info->dim).
Besides, there is a distinction between the array itself which is full and
transpose(array) which is not. Thus, I think it is better to keep the code
separated.
Thanks for the review.
Mikael