https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81062

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-06-11
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I think the code is invalid: what is 'shape(r)', i.e., the shape of an
unallocated array?

program main
  real, dimension(:), allocatable :: r
  print *, shape(r)
end program main

outputs

       1

Reply via email to