[Bug tree-optimization/114760] traling zero count detection failure

2024-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114760 --- Comment #1 from Richard Biener --- I think it's also a missed canonicalization for x << 1 vs. x + x (and 2*x). unsigned a, b, c; void foo (unsigned x) { a = x << 1; b = x + x; c = 2 * x; } x + x gets folded to 2 * x before gimplifica

[Bug tree-optimization/114760] traling zero count detection failure

2024-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114760 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement