https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119313
Bug ID: 119313 Summary: Internal compiler error when bootstrapping gcc cross compiler targeting powerpc64-apple-darwin8 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: edoardo762 at gmail dot com Target Milestone: --- Created attachment 60781 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60781&action=edit preprocessed-source When bootstrapping a GCC cross compiler targeting powerpc mac os using https://github.com/tpoechtrager/osxcross/blob/ppc-test/README.PPC-GCC-5.5.0-SDK-10.5.md, since version 13.2 at least, GCC fails the process with an internal compiler error in rs6000_emit_prologue. The error seems to be triggered by the call to __builtin_eh_return. Attached is the preprocessed source file causing the crash generated with -freport-bug