Hi Tobias, The patch is good for 10- and 11-branches.
Thanks Paul On Thu, 11 Feb 2021 at 18:59, Tobias Burnus <tob...@codesourcery.com> wrote: > In the Fortran standard, I think it is best explained > in the description of the RANK intrinsic: > > "Example. If X is an assumed-rank dummy argument and > its associated effective argument is an array of rank, > RANK(X) has the value 3." > > That's already well tested in assumed_rank_16.f90; > however, as the PR shows, this should not be reset > to "-1" when passing it further on as actual argument to > another assumed-rank dummy argument. > > OK for mainline? > Reported against GCC 10, not a regression but simple wrong-code fix; > does it make sense to apply there was well? > > Tobias > > ----------------- > Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München > Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank > Thürauf > -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein