https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620
Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED CC| |aoliva at gcc dot gnu.org --- Comment #10 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- ISTM that if you have to insert an endbr over indirect_return, a call should only be eligible for sibcall if the caller is also marked with indirect_return, otherwise the callee will indirectly return directly to an upstack caller that may not have an endbr after the call, no?