The attached patch was bootstrapped and regression tested on
i386-*-freebsd. The patch revealed 2 invalid test programs,
which are fixed. The patch implements the 4th constraint in
section 11.3.
2006-01-28 Steven G. Kargl <kargls@comcast.net>
Paul Thomas <pault@gcc.gnu.org>
* resolve.c (resolve_symbol): Default initialization of derived type
component reguires the SAVE attribute.
2006-01-28 Steven G. Kargl <kargls@comcast.net>
* gfortran.dg/char_result_11.f90: Add SAVE.
* gfortran.dg/der_pointer_4.f90: Ditto.
* gfortran.dg/default_initialization.f90: New test.