Re: [PATCH] jump: Change return type of predicate functions from int to bool

2023-05-31 Thread Bernhard Reutner-Fischer via Gcc-patches
On Wed, 31 May 2023 09:40:24 +0200 Uros Bizjak via Gcc-patches wrote: > On Wed, May 31, 2023 at 9:17 AM Richard Biener > wrote: > > Do we have a diagnostic that would point out places we > > assign the bool result to an integer variable? Do we want > > to change those places as well (did you

Re: [PATCH] jump: Change return type of predicate functions from int to bool

2023-05-31 Thread Uros Bizjak via Gcc-patches
On Wed, May 31, 2023 at 9:17 AM Richard Biener wrote: > > On Tue, May 30, 2023 at 9:01 PM Jeff Law via Gcc-patches > wrote: > > > > > > > > On 5/30/23 08:36, Uros Bizjak via Gcc-patches wrote: > > > gcc/ChangeLog: > > > > > > * rtl.h (comparison_dominates_p): Change return type from int to

Re: [PATCH] jump: Change return type of predicate functions from int to bool

2023-05-31 Thread Richard Biener via Gcc-patches
On Tue, May 30, 2023 at 9:01 PM Jeff Law via Gcc-patches wrote: > > > > On 5/30/23 08:36, Uros Bizjak via Gcc-patches wrote: > > gcc/ChangeLog: > > > > * rtl.h (comparison_dominates_p): Change return type from int to bool. > > (condjump_p): Ditto. > > (any_condjump_p): Ditto. > >

Re: [PATCH] jump: Change return type of predicate functions from int to bool

2023-05-30 Thread Jeff Law via Gcc-patches
On 5/30/23 08:36, Uros Bizjak via Gcc-patches wrote: gcc/ChangeLog: * rtl.h (comparison_dominates_p): Change return type from int to bool. (condjump_p): Ditto. (any_condjump_p): Ditto. (any_uncondjump_p): Ditto. (simplejump_p): Ditto. (returnjump_p): Ditto.

[PATCH] jump: Change return type of predicate functions from int to bool

2023-05-30 Thread Uros Bizjak via Gcc-patches
gcc/ChangeLog: * rtl.h (comparison_dominates_p): Change return type from int to bool. (condjump_p): Ditto. (any_condjump_p): Ditto. (any_uncondjump_p): Ditto. (simplejump_p): Ditto. (returnjump_p): Ditto. (eh_returnjump_p): Ditto. (onlyjump_p): Ditto.