https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77455
Bug ID: 77455 Summary: [AArch64] eh_return implementation fails Product: gcc Version: 4.8.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wdijkstr at arm dot com Target Milestone: --- The __builtin_eh_return implementation on AArch64 generates incorrect code for many cases due to using an incorrect offset/pointer when writing the new return address to the stack. Also optimizations may remove the write due to a missing scheduling barrier. As a result in most cases eh_return does not work properly.