Tobias Burnus wrote:
  ! Use a lower bound which is not "1"
  ! For some reasons, the following does not align the memory!
  !ptr(-5:) => array2(lbound(array2,dim=1)+offset2 :)

The reason is that it wrongly pointer-assigns the whole array, ignoring the specified offset. (It works with an explicit size array - such as "array" in the example.)

That's now tracked as PR61138.

Tobias

Reply via email to