Re: [PATCH] Fix thinko in operator_bitwise_xor::op1_range

2022-11-25 Thread Richard Biener via Gcc-patches
On Fri, Nov 25, 2022 at 10:22 AM Eric Botcazou via Gcc-patches wrote: > > Hi, > > there is a thinko in the op1_range method of ranger's operator_bitwise_xor > class in a boolean context: if the result is known to be true, it may infer > than a specific operand is false without any basis. > >

[PATCH] Fix thinko in operator_bitwise_xor::op1_range

2022-11-25 Thread Eric Botcazou via Gcc-patches
Hi, there is a thinko in the op1_range method of ranger's operator_bitwise_xor class in a boolean context: if the result is known to be true, it may infer than a specific operand is false without any basis. Tested on x86-64/Linux, OK for mainline, 12 and 11 branches? 2022-11-25 Eric