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/41100] [4.4/4.5 regression] Unchecked_Deallocation causes wrong free errors



------- Comment #10 from ebotcazou at gcc dot gnu dot org  2009-09-25 17:20 -------
> Thanks for your analysis! I'm curious at what's going wrong: it looks scary to
> have wrong code in such a simple use case :)

See utils2.c:maybe_wrap_malloc and maybe_wrap_free for the story about the
super-alignment business.  This doesn't play nice with polymorphism.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41100


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