https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102459

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Christopher Albert from comment #7)
> Created attachment 63875 [details]
> Proposed patch: fix depend-iterator lowering for component arrays
> 
> The front end chose between scalar and array lowering based on the first
> REF_ARRAY type, but for expressions like x(j)%a the first ref is the scalar
> element x(j) while the full expression is still rank-1. This patch switches
> to using the overall expression rank instead. Regtested on
> x86_64-pc-linux-gnu.

I have confirmed this one and will prepare the commit.

Reply via email to