This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/35372] Memory corruption at unchecked deallocation of the interface classwide type
- From: "vgodunko at rostel dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2008 18:43:11 -0000
- Subject: [Bug ada/35372] Memory corruption at unchecked deallocation of the interface classwide type
- References: <bug-35372-15264@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from vgodunko at rostel dot ru 2008-02-26 18:43 -------
I have trace and compare execution of the two program, one use anonymous access
type to tagged type and another use anonymous access type to interface type. In
the program which use tagged type GNAT:
- creates not only finalization list object but also list controller object;
- attach created object the finalization list with mode 2 (it uses mode 1 in
the case of interface type).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35372