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 c++/19662] [FEATURE REQUEST] Need an option preventing any atexit object destructions


------- Additional Comments From gdr at integrable-solutions dot net  2005-01-28 22:41 -------
Subject: Re:  [FEATURE REQUEST] Need an option preventing any atexit object destructions

"yuri at tsoft dot com" <gcc-bugzilla@gcc.gnu.org> writes:

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

Groumph.

It was said that the objects are simple and do not need destructor.
So what is the point of writing them in the first place?

-- Gaby


-- 


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


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