https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63220
Bug ID: 63220 Summary: error: inlining failed in call to always_inline Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: xinliangli at gmail dot com Created attachment 33466 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33466&action=edit test case Compile the attached source with -std=gnu++11 -O1 option, the compilation will fail with the error message error: inlining failed in call to always_inline .... There is no problem with O2.