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 #18 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-05-03 14:20:49 UTC ---
Author: paolo
Date: Tue May  3 14:20:45 2011
New Revision: 173309

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173309
Log:
2011-05-03  Paolo Carlini  <paolo.carlini@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:
    trunk/libstdc++-v3/testsuite/26_numerics/accumulate/48750.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/parallel/losertree.h
    trunk/libstdc++-v3/include/parallel/multiway_merge.h
    trunk/libstdc++-v3/include/parallel/multiway_mergesort.h
    trunk/libstdc++-v3/include/parallel/par_loop.h
    trunk/libstdc++-v3/include/parallel/partial_sum.h
    trunk/libstdc++-v3/include/parallel/quicksort.h
    trunk/libstdc++-v3/include/parallel/random_shuffle.h
    trunk/libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc


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