------- Comment #16 from burnus at gcc dot gnu dot org 2010-02-10 09:17 ------- (In reply to comment #10) > > For reference, this was Paul's message to the list: > > http://gcc.gnu.org/ml/fortran/2009-12/msg00164.html > This was followed by http://gcc.gnu.org/ml/fortran/2009-12/msg00166.html
It seems as if this only occurs on a branch (fortran-dev, see comment 13) thus I would suggest to go ahead and fix it for the trunk. And worry about the branch later. > I would like to commit this patch, so I will try to fix it Could you also look into: pointer%array_component where the ultimate component ("array_component") is a whole array reference and _not_ a pointer? In that case one should also have a contiguous array. Cf. PR 36933 and PR 36932. Note: Your patch seems to also fix PR 41117. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41113