This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/71856] [6/7 Regression] _GLIBCXX_DEBUG-mode breaks GNU parallel extension
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Jul 2016 22:16:55 +0000
- Subject: [Bug libstdc++/71856] [6/7 Regression] _GLIBCXX_DEBUG-mode breaks GNU parallel extension
- Auto-submitted: auto-generated
- References: <bug-71856-4@http.gcc.gnu.org/bugzilla/>
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