[PATCH] Replace direct PSTL uses of assert() with a macro
Thomas Rodgers
trodgers@redhat.com
Wed Apr 10 22:57:00 GMT 2019
Ok, lets try this again.
> On 09/04/19 15:23 -0700, Thomas Rodgers wrote:
>>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().
Jonathan Wakely writes:
> ... you fix now ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20190410-Replace-direct-PSTL-uses-of-assert-with-a-macro.patch
Type: text/x-patch
Size: 8429 bytes
Desc: updated patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190410/9c41c761/attachment.bin>
More information about the Libstdc++
mailing list