[Bug tree-optimization/114032] ifcvt may introduce UB calls to __builtin_clz(0)

2024-02-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114032 --- Comment #3 from Jakub Jelinek --- In GCC 13 and earlier, .CLZ(0) was UB depending on CLZ_VALUE_DEFINED_AT_ZERO (...) != 2. In GCC 14, it is always UB, and well defined is only .CLZ(0, 32) (but with the current requirement that the second arg

[Bug tree-optimization/114032] ifcvt may introduce UB calls to __builtin_clz(0)

2024-02-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114032 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-02-22 Ever confirmed|0

[Bug tree-optimization/114032] ifcvt may introduce UB calls to __builtin_clz(0)

2024-02-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114032 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1