[Bug tree-optimization/104444] Missing constant folding in shift expression.

2022-02-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 --- Comment #2 from Richard Biener --- Note we generally avoid "folding" undefined to anything specific, but what could trigger here is path isolation seeing if (n >= 0 && n < 32) ; else if (m >> n != 0) ... making the else

[Bug tree-optimization/104444] Missing constant folding in shift expression.

2022-02-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal