https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82516
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-10-11
Component|target |rtl-optimization
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think the tail/sibling call isn't represented as actual jump and thus
BB-reorder (who's supposed to "fix" such cases) doesn't grok this case.