https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93061
Bug ID: 93061 Summary: Optimising for size -Os causes segfault with AES-NI reference Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: mutex at fastmail dot co.uk Target Milestone: --- Created attachment 47544 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47544&action=edit Example code that causes bug. The function AES_256_Key_Expansion from the reference AES-NI causes a segfault (on Ubuntu 16.10) when gcc -Os optimisation is used.