https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116333
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > (In reply to Pali Rohár from comment #3) > > Hello Andrew, have you checked if this is really duplicate? > > That is a different issue all together. The original issue is definitely a > dup. > The secondary issue looks more like a limitation in LTO on mingw. Or rather a dup of bug 99373 .