https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78831
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-12-16 Assignee|unassigned at gcc dot gnu.org |amonakov at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Thanks. This is due to r243347. After that change, crtl->is_leaf is initialized not only at IRA startup, but also by some optimizations such as RTL CSE and LIM. This means that the assert needs to go, but 'is_leaf' is reliable only when true; otherwise, it's unknown if the function is non-leaf, or the value simply has not been initialized.