[Bug fortran/69398] ICE on class with duplicate dimension attribute specified
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Jan 20 19:34:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69398
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@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)
More information about the Gcc-bugs
mailing list