Re: [PATCH] Fix wrong optimization of complex boolean expression

2025-05-09 Thread Richard Biener
On Fri, May 9, 2025 at 11:49 AM Eric Botcazou wrote: > > Hi, > > this is a regression introduced on the mainline, 15 and 14 branches by: > https://gcc.gnu.org/pipermail/gcc-patches/2023-December/639303.html > although one may consider that the problem was latent before. > > The VRP2 pass turns:

[PATCH] Fix wrong optimization of complex boolean expression

2025-05-09 Thread Eric Botcazou
Hi, this is a regression introduced on the mainline, 15 and 14 branches by: https://gcc.gnu.org/pipermail/gcc-patches/2023-December/639303.html although one may consider that the problem was latent before. The VRP2 pass turns: # prephitmp_3 = PHI <0(4)> _1 = prephitmp_3 == 0; _5 = stretc