https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98334
Roger Sayle <roger at nextmovesoftware dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |roger at nextmovesoftware dot com Resolution|--- |FIXED --- Comment #6 from Roger Sayle <roger at nextmovesoftware dot com> --- This is now fully optimized at the tree level too. int f (int i, unsigned int n) { int result; int _1; <bb 2> [local count: 118111600]: _1 = (int) n_3(D); result_2 = _1 * i_6(D); return result_2; }