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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---
Whereas, detected :

$ cat z2.f90
program p
   type t
   end type
   type(t), allocatable :: z(:)
   target :: z(:)
   allocate (z(2))
end


$ gfortran -c z2.f90
z2.f90:5:14:

    target :: z(:)
              1

Error: Duplicate DIMENSION attribute specified at (1)

Reply via email to