[Patch, fortran] PR82275 - gfortran rejects valid & accepts invalid reference to dimension-remapped type SELECT TYPE selector

Steve Kargl sgk@troutmask.apl.washington.edu
Sat May 19 15:50:00 GMT 2018


On Sat, May 19, 2018 at 09:34:13AM +0100, Paul Richard Thomas wrote:
> This patch is verging on 'obvious' since there was no attempt being
> made to detect dimensions where the array reference of the selector is
> an element. In fact, I made an attempt when the bug was first reported
> to do this, Not realizing that the elements were coming through as
> DIMEN_UNKNOWN, the attempt failed. This is now catered for.
> 
> Bootstrapped and regtested on FC27/x86_64. OK for all active branches?
> 

OK.

-- 
Steve



More information about the Fortran mailing list