https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Keywords| |compile-time-hog --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- for me, -O1 takes a long time even: callgraph ipa passes : 2.34 ( 26%) 0.49 ( 30%) 2.84 ( 26%) 159M ( 37%) -O2 is much worse: alias stmt walking : 23.12 ( 37%) 0.14 ( 7%) 23.24 ( 36%) 323M ( 17%) tree DSE : 11.34 ( 18%) 0.00 ( 0%) 11.36 ( 18%) 15k ( 0%) tree slp vectorization : 16.01 ( 26%) 0.30 ( 15%) 16.32 ( 25%) 1117M ( 60%) This is with --enable-checking=yes but with -fno-checking. So there is at least a compile time hog here.