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

kalle <vinzent.boerner at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vinzent.boerner at gmx dot de

--- Comment #6 from kalle <vinzent.boerner at gmx dot de> ---
This bug is still virulent in gfortran 4.9 with source code:

Program tmp
  Implicit None
  Integer, Dimension(6) :: A
  Integer, Allocatable, Dimension(:) :: B
  A=1
  Allocate(B,source=A)
  write(*,*) B
End Program tmp

compiled with:

gfortran-4.9 -o tmp tmp.f90

will result in:

Allocate(B,source=A)
           1
Error: Array specification required in ALLOCATE statement at (1)

Reply via email to