Pointers in Fortran can alias with each other and with valid pointer targets. What makes Fortran potentially easier to optimize are its rules against dummy argument aliasing in most (but not all) cases.
(See https://github.com/llvm/llvm-project/blob/main/flang/docs/Al... for the full story.)