Dear GCC I think there is a problem with using pointer aliases with gfortan, something that does not appear on ifort nor ftn (Cray)
I did initially post my problem on stackoverflow with a minimal example: What is wrong with this fortran code using pointer aliases - Stack Overflow<https://stackoverflow.com/questions/68255483/what-is-wrong-with-this-fortran-code-using-pointer-aliases?noredirect=1#comment120649153_68255483> The code is attached. I tested with version 9.3 and 10.1 Best Ali
md_ptr.f90
Description: md_ptr.f90
test_ptr.f90
Description: test_ptr.f90