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 libstdc++/29688] resize initializes whole array



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


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