Re: [ranger] Fix wrong code for boolean negation in condition at -O

2020-11-09 Thread Andrew MacLeod via Gcc-patches
On 11/9/20 4:38 PM, Eric Botcazou wrote: Hi, this is a regression present on mainline in the form of wrong code generated for the attached Ada testcase at -O -ftree-vrp. It's again an issue with the 8-bit booleans in Ada and, as a matter of fact, it's exactly the same issue as the one I fixed e

[ranger] Fix wrong code for boolean negation in condition at -O

2020-11-09 Thread Eric Botcazou
Hi, this is a regression present on mainline in the form of wrong code generated for the attached Ada testcase at -O -ftree-vrp. It's again an issue with the 8-bit booleans in Ada and, as a matter of fact, it's exactly the same issue as the one I fixed elsewhere about one year and half ago at: