Re: [PATCH] gimple-fold: Fix a pasto in fold_truth_andor_for_ifcombine [PR119030]

2025-02-27 Thread Richard Biener
> Am 27.02.2025 um 21:11 schrieb Jakub Jelinek : > > Hi! > > The following testcase is miscompiled since r15-7597. > The left comparison is unsigned (x & 0x8000U) != 0) while the > right one is signed (x >> 16) >= 0 and is actually a signbit test, > so rsignbit is 64. > After debugging this a

[PATCH] gimple-fold: Fix a pasto in fold_truth_andor_for_ifcombine [PR119030]

2025-02-27 Thread Jakub Jelinek
Hi! The following testcase is miscompiled since r15-7597. The left comparison is unsigned (x & 0x8000U) != 0) while the right one is signed (x >> 16) >= 0 and is actually a signbit test, so rsignbit is 64. After debugging this and reading the r15-7597 change, I believe there is just a pasto, the i