https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84130

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why?  I think it is pretty much the rule that -O1 can take 3-4 times as long as
-O0, the whole point of -O0 is that it bypasses most of the optimization
passes.
Your testcase is just huge, compiles to 31M assembly, there is not a single
optimization where significant time would be spent, most time takes garbage
collection (8%), tree CCP (7%), dominance (5%), the rest is below that.

Reply via email to