https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67894
--- Comment #2 from John Donners <john.donners at surfsara dot nl> --- Hello Dominique, thank you for your reaction. Yes, I should have added the output and my expectation. I expected to see the following: Actual argument, allocatable, lbound= 3 10 16 Dummy argument, lbound= 3 10 16 Actual argument, lbound= 3 10 16 Dummy argument, lbound= 3 10 16 because the standard says that the bounds of the actual and the dummy argument are the same for assumed-rank arrays. Indeed, I'm equally puzzled about the last part of that paragraph in the standard, but I included it for completeness. I don't think it applies here, because the actual argument is not assumed-size. (just as a remark: the Cray compiler gives me the expected answer, while the Intel compiler returns '3 10 16' in the former case and '1 1 1' in the latter case.)