Re: [PATCH] change predicates to return bool instead of int

2018-09-26 Thread Jeff Law
On 9/26/18 11:22 AM, Martin Sebor wrote: > The attached patch modifies the return types of a number > of predicates in tree.h and tree.c from int to bool. > > Tested on x86_64-linux with no unexpected failures. > > Martin > > gcc-tree-int2bool.diff > > gcc/ChangeLog: > > * tree.c (zerop)

[PATCH] change predicates to return bool instead of int

2018-09-26 Thread Martin Sebor
The attached patch modifies the return types of a number of predicates in tree.h and tree.c from int to bool. Tested on x86_64-linux with no unexpected failures. Martin gcc/ChangeLog: * tree.c (zerop): Change return type to bool. (integer_zerop, integer_onep, integer_each_onep): Same. (integ