[Bug libstdc++/23358] _Destroy doesn't optimize for scalar types

2005-08-12 Thread tkho at tommykho dot com
--- Additional Comments From tkho at tommykho dot com 2005-08-12 18:10 --- Created an attachment (id=9483) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9483&action=view) Testcase Comparing the reported time before and after the proposed fix results in orders of magnitude

[Bug libstdc++/23358] _Destroy doesn't optimize for scalar types

2005-08-12 Thread tkho at tommykho dot com
--- Additional Comments From tkho at tommykho dot com 2005-08-12 18:05 --- Created an attachment (id=9482) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9482&action=view) Fix for _Destroy It looks like the extra template parameter confuses the compiler. I'm pretty

[Bug libstdc++/23358] New: _Destroy doesn't optimize for scalar types

2005-08-12 Thread tkho at tommykho dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkho at tommykho dot com CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: i686-unknown-linux-