This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33554] Seg.fault: Default initialization of derived type uses uninitialized values
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2007 20:08:41 -0000
- Subject: [Bug fortran/33554] Seg.fault: Default initialization of derived type uses uninitialized values
- References: <bug-33554-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dominiq at lps dot ens dot fr 2007-09-25 20:08 -------
On Darwin8 I get:
[karma] f90/bug% gfc -O0 -fbounds-check -fbacktrace -g pr33554.f90
[karma] f90/bug% a.out
before construct_temp, size (temp) = 2
Enter construct_temp, size (temp) = 2
Leave construct_temp
after construct_temp
before construct_temp, size (temp) = 2
Enter construct_temp, size (temp) = 2
Leave construct_temp
after construct_temp
I get the same result with different options, or with g95 and xlf.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33554