This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19661] unnecessary atexit calls emitted for static objects with empty destructors
- 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 01:26:50 -0000
- Subject: [Bug c++/19661] unnecessary atexit calls emitted for static objects with empty destructors
- References: <20050127222428.19661.yuri@tsoft.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From yuri at tsoft dot com 2005-01-28 01:26 -------
(In reply to comment #1)
> Confirmed, although I consider this to be a rather minor point since
> the code is actually run only once. Here's a small test:
I agree, but it bloats the code, therefore reducing potential for inlining and
pipeline trashing.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |normal
Component|middle-end |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19661