[Bug fortran/68544] ICE trying to pass derived type constructor as a function
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Nov 21 18:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68544
--- Comment #6 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
These snippets are silently accepted (t is not an array nor a scalar).
$ cat z3.f90
program p
type t
end type
print *, shape(t)
end
$ gfortran-7-20161120 -Wall -fcheck=all z3.f90
$ a.out
$
---
$ cat z4.f90
subroutine s(t)
type t
end type
end
$ gfortran-7-20161120 -c z4.f90
$
More information about the Gcc-bugs
mailing list