This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13418] optimized code calls operator delete before finishing destructor
- From: "stever at eecs dot umich dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2003 19:15:26 -0000
- Subject: [Bug optimization/13418] optimized code calls operator delete before finishing destructor
- References: <20031216184923.13418.stever@eecs.umich.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From stever at eecs dot umich dot edu 2003-12-16 19:15 -------
(In reply to comment #2)
> The reinterpret_casts smell a bit of aliasing violations. Does
> -fno-strict-aliasing help?
>
Yes, that seems to take care of it (for my test case at least). Let me try to
fix it for my application and I'll close out the bug if that's all it is.
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13418