https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69398
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69398
--- Comment #2 from Gerhard Steinmetz
---
BTW :
$ cat z1c.f90
program p
type t
end type
class(t), allocatable :: z(:)
target :: z(2)
allocate (z(2))
end
$ gfortran-5.3.1 -c z1c.f90
z1c.f90:1:0:
program p
1
internal compiler
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69398
--- Comment #1 from Gerhard Steinmetz
---
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(:)