https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67894
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-10-09 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- With gfortran 4.8 up to trunk (6.0) I get the following output Actual argument, allocatable, lbound= 3 10 16 Dummy argument, lbound= 1 1 1 Actual argument, lbound= 3 10 16 Dummy argument, lbound= 1 1 1 What is your expectation? Note that I get the same output if I replace real,dimension(..) :: a with real,dimension(:,:,:) :: a Note that I don't understand the rationale of > except that when the actual argument is assumed-size, the upper bound of the > last dimension of the dummy argument is 2 less than the lower bound of > that dimension.