This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19662] [FEATURE REQUEST] Need an option preventing any atexit object destructions
- From: "yuri at tsoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2005 20:54:52 -0000
- Subject: [Bug c++/19662] [FEATURE REQUEST] Need an option preventing any atexit object destructions
- References: <20050128052304.19662.yuri@tsoft.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From yuri at tsoft dot com 2005-01-28 20:54 -------
> If your objects are simple and do not need destruction, just don't
> define destructors.
>
> -- Gaby
Disagree, it may only be determined after the optimization that destructor is
actuall empty.
Yuri
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19662