------- Comment #87 from bonzini at gnu dot org 2009-02-13 16:54 ------- Subject: Re: [4.3/4.4 Regression] Inordinate compile times on large routines
> It's unfortunate that the discussion from 39157 will be somewhat hard to > find now that that bug is closed. Well, the patch there is not lost, I suppose Jakub will finish it and post it. The problem is that -O1 was never meant to give "very fast" code. You are using it only because our throttling of expensive passes is insufficient. Fixing that has two sides, as done in PR39157's discussion: 1) disabling more passes at -O1, 2) establishing some parameters to throttle down passes at -O2. Ultimately, the goal should be that you can use -O2. Paolo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854