PSyclone
PSyclone copied to clipboard
Bug in InlineTrans when formal argument declaration references another formal argument
If we have:
subroutine sub(var, start)
real, dimension(start:) :: var
var(start+1) = 5.0
end subroutine
Then the inlined code still contains a reference to 'start' in the array-index expression that is generated to allow for non-default starting index values.