This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/35372] Memory corruption at unchecked deallocation of the interface classwide type



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]