On 10/06/2015 03:45 PM, Richard Biener wrote: > On Tue, Oct 6, 2015 at 2:41 PM, Bernd Schmidt wrote: >> On 10/06/2015 01:32 AM, Mikhail Maltsev wrote: >>> >>> gcc/ChangeLog: >>> >>> 2015-10-05 Mikhail Maltsev >>> >>> * alloc-pool.h (base_pool_allocator::initialize, ::allocate, >>> ::remove): Adjust to use CHECKING_P. >> >> >> Why CHECKING_P for these and not flag_checking as elsewhere? > > Probably because they are in inline functions and thus possibly would > affect optimization. Not sure why they are inline functions in the > first place... I'd agree to using flag_checking here. > > Richard. > >> >> Bernd Adjusted. Note: I had to include 'options.h' into 'alloc-pool.h' in order to use flag_checking. -- Regards, Mikhail Maltsev 2015-10-19 Mikhail Maltsev * alloc-pool.h (base_pool_allocator ::initialize, ::allocate, ::remove): Adjust to use flag_checking.