https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Created attachment 41493 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41493&action=edit unreduced testcase Here is the unreduced testcase: g++ -w -flto -Wl,--no-demangle l.ii o.ii -O1 -std=c++1z ./libboost_program_options.a The issue only happens -with -std=c++1z, c++14 works fine (but not with the preprocessed files). Automatic reduction unfortunately just turns up garbage.