https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114989
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |middle-end Keywords| |compile-time-hog --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > callgraph functions expansion : 3.16 ( 86%) 0.32 ( 52%) 3.50 ( > 81%) 111M ( 75%) So expand is usually fast. The only slow part I know of that might be hitting here is division by constant where we are trying to find if it is better to do multiplies or the division directly.