https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71856
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This isn't properly fixed, parallel mode unconditionally enables assertions, so
this doesn't compile:
#define _GLIBCXX_PARALLEL 1
#include <complex>
int main()
{
__glibcxx_assert( invalid expression );
}
The problem is in <bits/c++config.h>
// Assert.
#if !defined(_GLIBCXX_ASSERTIONS) && !defined(_GLIBCXX_PARALLEL)
# define __glibcxx_assert(_Condition)
#else