https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- fillLUTDIV is basically one big function (one BB) which does: inp[...] = ...; 1019 times fillLUTNEGEXP does the same thing 33659 times. I assume these are generated functions. It might be better to have static const array which you do a copy from, either memcpy or somehow ever. This will improve the compile time speed by a lot and maybe even the runtime speed too.