[Bug tree-optimization/78528] Recursion not optimized in simple case

2016-11-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78528 --- Comment #1 from Andrew Pinski --- For the int case, we can recognize easily that the function is doing f()+N. While for the Int case it looks worse: [100.0%]: _2 = s_7(D) + 1; D.3625 = strlen (_2); lhs$m_value_13 = MEM[(struct Int *

[Bug tree-optimization/78528] Recursion not optimized in simple case

2016-11-25 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78528 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement