http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57549
Bug ID: 57549 Summary: Bogus error with array constructor with derived-type typespec Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Vladimir Fuka reports at http://gcc.gnu.org/ml/fortran/2013-06/msg00055.html that the following code doesn't work: a = [t::t()] 1 Error: Function 't' requires an argument list at (1) type t end type type(t),allocatable :: a(:) a = [t::t()] end