[PATCH] Replace direct PSTL uses of assert() with a macro

Jonathan Wakely jwakely@redhat.com
Wed Apr 10 22:59:00 GMT 2019


On 10/04/19 15:57 -0700, Thomas Rodgers wrote:
>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 ...

Looks good, OK for trunk, thanks.




More information about the Libstdc++ mailing list