The output from the attached code looks wrong, as if the derived type components are not SAVEd. -----------------output--------------------- [EMAIL PROTECTED] bugtest]$ gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.3-20070302/configure --prefix=/usr/local/gcc43 --with-mpfr=/home/travel/GCC/BUILDS/mpfr --with-gmp-lib=/home/travel/GCC/BUILDS/gmp/lib/ --with-gmp=/home/travel/GCC/BUILDS/gmp Thread model: posix gcc version 4.3.0 20070302 (experimental) [EMAIL PROTECTED] bugtest]$ ./savebug After first call 0 After second call 0
----------------- output with Intel fortran --------- [EMAIL PROTECTED] bugtest]$ ifort -o savebug savebug.f90 [EMAIL PROTECTED] bugtest]$ ./savebug After first call 0 After second call 10 -- Summary: SAVEd derived types with ALLOCATABLE components don't work Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sfilippone at uniroma2 dot it GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31163