http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48750
--- Comment #20 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-05-03 17:54:41 UTC --- Author: paolo Date: Tue May 3 17:54:35 2011 New Revision: 173335 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173335 Log: 2011-05-03 Paolo Carlini <paolo.carl...@oracle.com> PR libstdc++/48750 * include/parallel/multiway_merge.h: Run _ValueType destructors. * include/parallel/multiway_mergesort.h: Likewise. * include/parallel/quicksort.h: Likewise. * include/parallel/random_shuffle.h: Likewise. * include/parallel/partial_sum.h: Likewise. * include/parallel/losertree.h: Run destructors; minor tweaks. * include/parallel/par_loop.h: Run destructors, fix memory allocations and deallocations. * testsuite/26_numerics/accumulate/48750.cc: New. * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in parallel-mode to avoid spurious multiple errors. Added: branches/gcc-4_6-branch/libstdc++-v3/testsuite/26_numerics/accumulate/48750.cc Modified: branches/gcc-4_6-branch/libstdc++-v3/ChangeLog branches/gcc-4_6-branch/libstdc++-v3/include/parallel/losertree.h branches/gcc-4_6-branch/libstdc++-v3/include/parallel/multiway_merge.h branches/gcc-4_6-branch/libstdc++-v3/include/parallel/multiway_mergesort.h branches/gcc-4_6-branch/libstdc++-v3/include/parallel/par_loop.h branches/gcc-4_6-branch/libstdc++-v3/include/parallel/partial_sum.h branches/gcc-4_6-branch/libstdc++-v3/include/parallel/quicksort.h branches/gcc-4_6-branch/libstdc++-v3/include/parallel/random_shuffle.h branches/gcc-4_6-branch/libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc