------- Additional Comments From paulthomas2 at wanadoo dot fr 2004-12-03 15:08 ------- The problem lies with the character pointer in the derived type. Remove the assignement to null and this example compiles. Try to allocate pd and it fails again. Change to to fixed length, it is OK, but bombs out again when you assign something to it. The mixture of derived types and characters seems to be toxic! CVS 20041202
(In reply to comment #4) > Further reduced to: > TYPE n > CHARACTER, POINTER :: vc => NULL() > END TYPE n > TYPE (n), POINTER :: pd > END > this is, I believe, indeed valid. Therefor confirmed this time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16606