------- Comment #3 from w6ws at earthlink dot net 2009-12-08 21:34 ------- (In reply to comment #2) > I don't get it. "Fortran 95/2003 explained" by Metcalf has exactly this in the > example (figure 12.3, p243) for allocatable components... So, where's the > actual problem?
The example on p243 correctly shows the use of a structure constructor in an assignment statement. This bug report is different in that it concerns a structure constructor in the initializer portion of a TYPE statement (where the derived type contains an ALLOCATABLE.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34402