This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/41100] [4.4/4.5 regression] Unchecked_Deallocation causes wrong free errors
- From: "hainque at adacore dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2009 22:07:59 -0000
- Subject: [Bug ada/41100] [4.4/4.5 regression] Unchecked_Deallocation causes wrong free errors
- References: <bug-41100-286@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from hainque at adacore dot com 2009-09-28 22:07 -------
> I checked with gcc version 4.5.0 20090928 (experimental) [trunk revision
> 152246] (GCC).
>
> I didn't test 4.4 but the patch should apply there too, no?
Yes, and I just applied it. This is not a fullproof resolution of
the general problem with tagged types, but makes sense overall
and should get us back to the situation as it was in 4.3.
The particular instance you were observing should definitely
not cause trouble any more.
Olivier
--
hainque at adacore dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hainque at adacore dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41100