Hi Paul,

this looks good to me for mainline as well as backports ...

... except that the PR number should be corrected (109345 instead of
109435) in the testcase and the commit message (Change.logs).

Thanks for the patch!

Harald

Am 10.11.24 um 14:52 schrieb Paul Richard Thomas:
Hi All,

The failing testcase came about because the array reference in the TYPE IS
block required the correct value of the span. The fix separates out
unlimited polymorphic expressions in gfc_get_array_span and ensures that
the value returned is the originating array span, rather than the element
size. This is done by extracting the class container and then the class
data.

The other tweak in gfc_get_array_span makes the logic rather clearer by
identifying class dummy references as being the only cases where 'desc' is
not a component of a class container.

OK for mainline and backporting to the affected, active branches after a
couple of weeks?

Paul


Reply via email to