diff options
author | Thomas Rodgers <trodgers@redhat.com> | 2019-04-11 20:40:40 +0000 |
---|---|---|
committer | Thomas Rodgers <rodgertq@gcc.gnu.org> | 2019-04-11 20:40:40 +0000 |
commit | 9eda9f9231f287599413c684351b16576f2ee4d2 (patch) | |
tree | d5f63e7dfbdd1473b295e0fba6c44701ed978092 /gcc | |
parent | c00d68e89ef6553435a3f2e373a90fa8e5077445 (diff) | |
download | gcc-9eda9f9231f287599413c684351b16576f2ee4d2.zip gcc-9eda9f9231f287599413c684351b16576f2ee4d2.tar.gz gcc-9eda9f9231f287599413c684351b16576f2ee4d2.tar.bz2 |
Replace direct PSTL uses of assert() with a macro
This also replaces calls to __TBB_ASSERT so that there are two macro
definitions provided by c++config -
__PSTL_ASSERT(_Condition)
__PSTL_ASSERT_MSG(_Condition, _Message)
* include/bits/c++config:
Add definition for __PSTL_ASSERT.
Add definition for __PSTL_ASSERT_MSG.
* include/pstl/algorithm_impl.h: Replace use of assert().
* include/pstl/numeric_impl.h: Replace use of assert().
* include/pstl/parallel_backend_tbb.h:
Replace use of assert().
Replace use of __TBB_ASSERT().
* include/pstl/parallel_backend_utils.h: Replace use of assert().
From-SVN: r270293
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions