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++/48750] for_each_template_random_access_ed has unbalanced new/delete[]


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

--- Comment #13 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-04-27 01:05:36 UTC ---
Created attachment 24108
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24108
Draft patch

This is my work Ãn progress patch. I'm for example seeing very good to perfect
improvements in terms of valgrind reports for sort / stable_sort /
random_shuffle too, which, before the patch, when the ValueType has a non
trivial destructor leak a lot.

I'm going to the run the patch through the testsuite in parallel-mode and get
it closer to the final shape.


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