https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66890
--- Comment #4 from Andi Kleen <andi-gcc at firstfloor dot org> --- Created attachment 36008 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36008&action=edit Updated patch with documentation and param I updated the patch with proper documentation and a param for the cut off. In some tests it appears to do the right thing when building a Linux kernel.