PSyclone icon indicating copy to clipboard operation
PSyclone copied to clipboard

Bug in InlineTrans when formal argument declaration references another formal argument

Open arporter opened this issue 2 years ago • 0 comments

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.

arporter avatar May 03 '23 16:05 arporter