https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65015
--- Comment #5 from conchur at web dot de --- Thanks for the patches. I've rebuild the gcc package (which took the whole afternoon + night on my machine) and can verify that the mini testcases are now working perfectly fine. I've also tried this with some other projects (shared objects and executables) and it now seems to work even without -flto-partition=none Is there any problem with the uncommitted patch that I should know about? Could this patch theoretically be applied in Debian or there problems which the Debian gcc-4.9 maintainers should know about?