[Bug tree-optimization/77980] missing optimization with division

2021-08-24 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Com

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > >The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't be 2. > Should be: > The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 --- Comment #6 from Andrew Pinski --- >The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't be 2. Should be: The only time _3 is nonzero 0 is _2 == 1 but we already know _2 can't be 1 as "NONZERO 4294967294" (which is 0xfffe)

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #5 from Andrew P

[Bug tree-optimization/77980] missing optimization with division

2021-07-07 Thread vitong at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77980 Victor Tong changed: What|Removed |Added CC||vitong at microsoft dot com --- Comment #4