This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24426] gfortran ICE for valid derived type definition with default initialization
- From: "erik dot edelmann at iki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2005 12:03:02 -0000
- Subject: [Bug fortran/24426] gfortran ICE for valid derived type definition with default initialization
- References: <bug-24426-11543@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from erik dot edelmann at iki dot fi 2005-10-21 12:03 -------
(In reply to comment #0)
> It reminds me a bit of bug 16606 but is different as the compiler crashes.
It's indeed basically the same problem as in PR 16606; we assign a default
initializer to variables of derived types even when they are pointers. The
only difference between this and PR 16606 is that that was for independent
variables, and this is for type components. I'll think I can write a patch
today or tomorrow.
--
erik dot edelmann at iki dot fi changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |erik dot edelmann at iki dot
| |fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24426