This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29688] resize initializes whole array
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2006 00:53:34 -0000
- Subject: [Bug libstdc++/29688] resize initializes whole array
- References: <bug-29688-13504@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pcarlini at suse dot de 2006-11-14 00:53 -------
I have analized in detail the case at issue (resize to the same size of the
current one) and came to the conclusion that trying to optimize for it (at the
cost of increasing the size of the inlined function) isn't really worth the
trouble, taking also into account that for PODs __valarray_destroy_elements is
already optimized out.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29688