https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121041
Bug ID: 121041 Summary: Missed tail calls for sjlj targets with empty exception handling code Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amylaar at gcc dot gnu.org Target Milestone: --- testsuite/g++.dg/opt/musttail3.C and testsuite/g++.dg/opt/musttail5.C fail for sjlj targets; the tail call optimization is rejected becasue the check for empty exception handling code is not effective for the sjlj handling.