https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-10-14 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> --- If g is called with argument that is usually 0, then the partial inlining makes sense. I guess it is a problem that we try to apply stack size limit to prevent inlining of .part into the original function body. Pehraps inliner should special case this and bypass the limits?