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++/71856] [6/7 Regression] _GLIBCXX_DEBUG-mode breaks GNU parallel extension


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71856

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jul 19 22:16:23 2016
New Revision: 238498

URL: https://gcc.gnu.org/viewcvs?rev=238498&root=gcc&view=rev
Log:
Do not define _GLIBCXX_ASSERTIONS in Parallel Mode

        PR libstdc++/71856
        * include/bits/c++config (_GLIBCXX_ASSERTIONS): Define to 1 not empty.
        * include/parallel/balanced_quicksort.h: Include <unistd.h> for sleep.
        * include/parallel/compiletime_settings.h (_GLIBCXX_ASSERTIONS):
        Do not define here.

Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/bits/c++config
    branches/gcc-6-branch/libstdc++-v3/include/parallel/balanced_quicksort.h
    branches/gcc-6-branch/libstdc++-v3/include/parallel/compiletime_settings.h

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