[Bug tree-optimization/110068] missing min detection

2023-09-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110068 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug tree-optimization/110068] missing min detection

2023-05-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110068 --- Comment #1 from Andrew Pinski --- here is another one: ``` unsigned f5 (unsigned x) { bool t = x >= 1U<<(sizeof(x)*8-1); if (!t) ; else x = 1U<<(sizeof(x)*8-1); return x; } ``` this time LLVM does not detect it either. eas