https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432
--- Comment #6 from Neil Carlson ---
... and this would also be invalid
type t(a)
integer, len :: a = 3
character(len=a) :: c = 'foo'
end type
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432
--- Comment #5 from Neil Carlson ---
No, both of those are valid. The constraint is on component initialization, and
type parameters are *not* components. So something like this would be invalid
by F08:C458
type t(a)
integer, len :: a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432
Jerry DeLisle changed:
What|Removed |Added
CC||jvdelisle at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432
Neil Carlson changed:
What|Removed |Added
CC||neil.n.carlson at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84432
janus at gcc dot gnu.org changed:
What|Removed |Added
Summary|Detect illegal component|[F08] Detect illegal