http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49310
Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.7 Regression] Compile |[4.7 Regression] Compile |time hog |time hog in var-tracking | |emit --- Comment #1 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-06-07 15:10:48 UTC --- The time report is pretty clear: var-tracking emit :2565.20 (97%) usr 0.08 ( 9%) sys2565.58 (97%) wall 65881 kB ( 8%) ggc TOTAL :2631.33 0.85 2632.52 788209 kB For completeness the full report is below Execution times (seconds) phase setup : 0.03 ( 0%) usr 0.01 ( 1%) sys 0.04 ( 0%) wall 261 kB ( 0%) ggc phase parsing : 1.12 ( 0%) usr 0.06 ( 7%) sys 1.18 ( 0%) wall 45507 kB ( 6%) ggc phase generate :2630.17 (100%) usr 0.78 (92%) sys2631.29 (100%) wall 742440 kB (94%) ggc phase finalize : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 0 kB ( 0%) ggc garbage collection : 3.46 ( 0%) usr 0.01 ( 1%) sys 3.47 ( 0%) wall 0 kB ( 0%) ggc callgraph construction: 0.05 ( 0%) usr 0.00 ( 0%) sys 0.11 ( 0%) wall 9747 kB ( 1%) ggc callgraph optimization: 0.04 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall 182 kB ( 0%) ggc ipa reference : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 0 kB ( 0%) ggc ipa pure const : 0.09 ( 0%) usr 0.00 ( 0%) sys 0.07 ( 0%) wall 0 kB ( 0%) ggc cfg construction : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 140 kB ( 0%) ggc cfg cleanup : 0.08 ( 0%) usr 0.00 ( 0%) sys 0.11 ( 0%) wall 9 kB ( 0%) ggc CFG verifier : 0.73 ( 0%) usr 0.01 ( 1%) sys 0.81 ( 0%) wall 0 kB ( 0%) ggc trivially dead code : 0.27 ( 0%) usr 0.00 ( 0%) sys 0.29 ( 0%) wall 0 kB ( 0%) ggc df scan insns : 0.27 ( 0%) usr 0.00 ( 0%) sys 0.24 ( 0%) wall 14 kB ( 0%) ggc df multiple defs : 0.07 ( 0%) usr 0.00 ( 0%) sys 0.08 ( 0%) wall 0 kB ( 0%) ggc df reaching defs : 0.06 ( 0%) usr 0.00 ( 0%) sys 0.05 ( 0%) wall 0 kB ( 0%) ggc df live regs : 0.76 ( 0%) usr 0.00 ( 0%) sys 0.69 ( 0%) wall 0 kB ( 0%) ggc df live&initialized regs: 0.31 ( 0%) usr 0.00 ( 0%) sys 0.37 ( 0%) wall 0 kB ( 0%) ggc df use-def / def-use chains: 0.03 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall 0 kB ( 0%) ggc df reg dead/unused notes: 0.58 ( 0%) usr 0.01 ( 1%) sys 0.66 ( 0%) wall 8709 kB ( 1%) ggc register information : 0.22 ( 0%) usr 0.00 ( 0%) sys 0.27 ( 0%) wall 0 kB ( 0%) ggc alias analysis : 0.24 ( 0%) usr 0.00 ( 0%) sys 0.21 ( 0%) wall 10901 kB ( 1%) ggc alias stmt walking : 1.28 ( 0%) usr 0.04 ( 5%) sys 1.22 ( 0%) wall 555 kB ( 0%) ggc register scan : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall 0 kB ( 0%) ggc rebuild jump labels : 0.08 ( 0%) usr 0.00 ( 0%) sys 0.09 ( 0%) wall 0 kB ( 0%) ggc parser (global) : 1.12 ( 0%) usr 0.06 ( 7%) sys 1.18 ( 0%) wall 45506 kB ( 6%) ggc inline heuristics : 0.23 ( 0%) usr 0.00 ( 0%) sys 0.25 ( 0%) wall 86 kB ( 0%) ggc tree gimplify : 0.46 ( 0%) usr 0.03 ( 4%) sys 0.49 ( 0%) wall 59986 kB ( 8%) ggc tree eh : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall 0 kB ( 0%) ggc tree CFG construction : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 9046 kB ( 1%) ggc tree CFG cleanup : 0.22 ( 0%) usr 0.01 ( 1%) sys 0.24 ( 0%) wall 35 kB ( 0%) ggc tree copy propagation : 0.23 ( 0%) usr 0.02 ( 2%) sys 0.21 ( 0%) wall 2267 kB ( 0%) ggc tree find ref. vars : 0.05 ( 0%) usr 0.00 ( 0%) sys 0.11 ( 0%) wall 5044 kB ( 1%) ggc tree PTA : 0.62 ( 0%) usr 0.05 ( 6%) sys 0.70 ( 0%) wall 1936 kB ( 0%) ggc tree PHI insertion : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 310 kB ( 0%) ggc tree SSA rewrite : 0.17 ( 0%) usr 0.02 ( 2%) sys 0.22 ( 0%) wall 21049 kB ( 3%) ggc tree SSA other : 0.05 ( 0%) usr 0.02 ( 2%) sys 0.12 ( 0%) wall 22 kB ( 0%) ggc tree SSA incremental : 0.13 ( 0%) usr 0.00 ( 0%) sys 0.14 ( 0%) wall 817 kB ( 0%) ggc tree operand scan : 0.17 ( 0%) usr 0.10 (12%) sys 0.23 ( 0%) wall 19454 kB ( 2%) ggc dominator optimization: 0.33 ( 0%) usr 0.00 ( 0%) sys 0.39 ( 0%) wall 5073 kB ( 1%) ggc tree SRA : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 0 kB ( 0%) ggc tree CCP : 2.13 ( 0%) usr 0.00 ( 0%) sys 2.13 ( 0%) wall 5999 kB ( 1%) ggc tree PHI const/copy prop: 0.01 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall 33 kB ( 0%) ggc tree split crit edges : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall 129 kB ( 0%) ggc tree reassociation : 0.08 ( 0%) usr 0.00 ( 0%) sys 0.07 ( 0%) wall 150 kB ( 0%) ggc tree FRE : 1.13 ( 0%) usr 0.03 ( 4%) sys 1.26 ( 0%) wall 19636 kB ( 2%) ggc tree code sinking : 0.06 ( 0%) usr 0.03 ( 4%) sys 0.10 ( 0%) wall 11368 kB ( 1%) ggc tree linearize phis : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 0 kB ( 0%) ggc tree forward propagate: 0.21 ( 0%) usr 0.00 ( 0%) sys 0.22 ( 0%) wall 10462 kB ( 1%) ggc tree conservative DCE : 0.05 ( 0%) usr 0.01 ( 1%) sys 0.07 ( 0%) wall 86 kB ( 0%) ggc tree aggressive DCE : 0.06 ( 0%) usr 0.01 ( 1%) sys 0.08 ( 0%) wall 55 kB ( 0%) ggc tree DSE : 0.03 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 0 kB ( 0%) ggc tree loop invariant motion: 0.19 ( 0%) usr 0.00 ( 0%) sys 0.13 ( 0%) wall 423 kB ( 0%) ggc tree canonical iv : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.05 ( 0%) wall 1737 kB ( 0%) ggc scev constant prop : 0.08 ( 0%) usr 0.00 ( 0%) sys 0.06 ( 0%) wall 5044 kB ( 1%) ggc complete unrolling : 0.05 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 1737 kB ( 0%) ggc tree iv optimization : 3.11 ( 0%) usr 0.00 ( 0%) sys 3.06 ( 0%) wall 50650 kB ( 6%) ggc tree loop init : 0.05 ( 0%) usr 0.00 ( 0%) sys 0.06 ( 0%) wall 3839 kB ( 0%) ggc tree loop fini : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall 0 kB ( 0%) ggc tree copy headers : 0.01 ( 0%) usr 0.01 ( 1%) sys 0.01 ( 0%) wall 863 kB ( 0%) ggc tree rename SSA copies: 0.05 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall 0 kB ( 0%) ggc tree SSA verifier : 3.20 ( 0%) usr 0.01 ( 1%) sys 3.64 ( 0%) wall 0 kB ( 0%) ggc tree STMT verifier : 9.91 ( 0%) usr 0.00 ( 0%) sys 9.30 ( 0%) wall 0 kB ( 0%) ggc callgraph verifier : 0.75 ( 0%) usr 0.00 ( 0%) sys 0.77 ( 0%) wall 0 kB ( 0%) ggc dominance frontiers : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall 0 kB ( 0%) ggc dominance computation : 0.19 ( 0%) usr 0.00 ( 0%) sys 0.18 ( 0%) wall 0 kB ( 0%) ggc out of ssa : 0.17 ( 0%) usr 0.00 ( 0%) sys 0.14 ( 0%) wall 10 kB ( 0%) ggc expand vars : 0.03 ( 0%) usr 0.00 ( 0%) sys 0.08 ( 0%) wall 8914 kB ( 1%) ggc expand : 0.80 ( 0%) usr 0.01 ( 1%) sys 0.69 ( 0%) wall 73652 kB ( 9%) ggc post expand cleanups : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.04 ( 0%) wall 140 kB ( 0%) ggc lower subreg : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall 0 kB ( 0%) ggc forward prop : 0.34 ( 0%) usr 0.00 ( 0%) sys 0.35 ( 0%) wall 6088 kB ( 1%) ggc CSE : 0.32 ( 0%) usr 0.00 ( 0%) sys 0.33 ( 0%) wall 228 kB ( 0%) ggc dead code elimination : 0.09 ( 0%) usr 0.00 ( 0%) sys 0.10 ( 0%) wall 0 kB ( 0%) ggc dead store elim1 : 0.93 ( 0%) usr 0.00 ( 0%) sys 0.84 ( 0%) wall 5330 kB ( 1%) ggc dead store elim2 : 0.51 ( 0%) usr 0.00 ( 0%) sys 0.57 ( 0%) wall 6232 kB ( 1%) ggc loop analysis : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 69 kB ( 0%) ggc loop invariant motion : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.07 ( 0%) wall 0 kB ( 0%) ggc branch prediction : 0.09 ( 0%) usr 0.00 ( 0%) sys 0.07 ( 0%) wall 2942 kB ( 0%) ggc combiner : 1.60 ( 0%) usr 0.01 ( 1%) sys 1.69 ( 0%) wall 36738 kB ( 5%) ggc if-conversion : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall 120 kB ( 0%) ggc integrated RA : 5.06 ( 0%) usr 0.00 ( 0%) sys 5.01 ( 0%) wall 83336 kB (11%) ggc reload : 1.10 ( 0%) usr 0.00 ( 0%) sys 1.12 ( 0%) wall 2312 kB ( 0%) ggc reload CSE regs : 0.50 ( 0%) usr 0.00 ( 0%) sys 0.62 ( 0%) wall 5702 kB ( 1%) ggc thread pro- & epilogue: 0.09 ( 0%) usr 0.00 ( 0%) sys 0.07 ( 0%) wall 545 kB ( 0%) ggc combine stack adjustments: 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall 0 kB ( 0%) ggc hard reg cprop : 0.65 ( 0%) usr 0.00 ( 0%) sys 0.55 ( 0%) wall 264 kB ( 0%) ggc machine dep reorg : 0.23 ( 0%) usr 0.00 ( 0%) sys 0.18 ( 0%) wall 27 kB ( 0%) ggc reorder blocks : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall 134 kB ( 0%) ggc final : 0.74 ( 0%) usr 0.00 ( 0%) sys 0.71 ( 0%) wall 9336 kB ( 1%) ggc symout : 1.19 ( 0%) usr 0.06 ( 7%) sys 1.22 ( 0%) wall 137262 kB (17%) ggc variable tracking : 0.88 ( 0%) usr 0.05 ( 6%) sys 0.90 ( 0%) wall 26387 kB ( 3%) ggc var-tracking dataflow : 13.67 ( 1%) usr 0.11 (13%) sys 13.79 ( 1%) wall 0 kB ( 0%) ggc var-tracking emit :2565.20 (97%) usr 0.08 ( 9%) sys2565.58 (97%) wall 65881 kB ( 8%) ggc rest of compilation : 0.59 ( 0%) usr 0.02 ( 2%) sys 0.51 ( 0%) wall 2380 kB ( 0%) ggc remove unused locals : 0.54 ( 0%) usr 0.00 ( 0%) sys 0.60 ( 0%) wall 0 kB ( 0%) ggc address taken : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.09 ( 0%) wall 0 kB ( 0%) ggc unaccounted todo : 0.21 ( 0%) usr 0.02 ( 2%) sys 0.15 ( 0%) wall 0 kB ( 0%) ggc verify loop closed : 0.32 ( 0%) usr 0.00 ( 0%) sys 0.23 ( 0%) wall 0 kB ( 0%) ggc verify RTL sharing : 1.38 ( 0%) usr 0.00 ( 0%) sys 1.49 ( 0%) wall 0 kB ( 0%) ggc repair loop structures: 0.04 ( 0%) usr 0.00 ( 0%) sys 0.11 ( 0%) wall 765 kB ( 0%) ggc TOTAL :2631.33 0.85 2632.52 788209 kB