https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83670
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2019-02-26 Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Exposed by https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01027.html . The value might already be cached by the time we call leaf_function_p in crtl->is_leaf which can be used here instead. Related to the similar issue on mmix: PR 85666.