Closed rasmussn closed 7 years ago
By implementing Cray pointers they can be lowered/rewritten to standard Fortran pointers. A program demonstrating usage is shown below:
integer :: cptr1, cptr2, cptr3 pointer (cptr1, obj1) pointer (cptr2, obj2), (cptr3, obj3(13)) end
Fixed by adding CrayPointerDecl and making a decl list to allow multiple pointer associations. Also added OptArraySpec to allow for objects to be associated with specific array elements.
By implementing Cray pointers they can be lowered/rewritten to standard Fortran pointers. A program demonstrating usage is shown below:
integer :: cptr1, cptr2, cptr3 pointer (cptr1, obj1) pointer (cptr2, obj2), (cptr3, obj3(13)) end