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

--- Comment #3 from Alisdair Meredith <alisdairm at me dot com> ---
And for reference, -ftime-report on the same file without -Wall:

time g++ -std=c++2a main.cpp -ftime-report

Time variable                                   usr           sys          wall
              GGC
 phase setup                        :   0.01 (  0%)   0.00 (  0%)   0.02 (  0%)
   1363 kB (  1%)
 phase parsing                      :   0.71 ( 12%)   0.30 ( 17%)   1.01 ( 13%)
  28499 kB ( 17%)
 phase lang. deferred               :   0.94 ( 16%)   0.25 ( 14%)   1.20 ( 16%)
  35469 kB ( 21%)
 phase opt and generate             :   4.15 ( 71%)   1.21 ( 68%)   5.38 ( 71%)
  99873 kB ( 60%)
 phase last asm                     :   0.01 (  0%)   0.00 (  0%)   0.02 (  0%)
     96 kB (  0%)
 phase finalize                     :   0.00 (  0%)   0.01 (  1%)   0.00 (  0%)
      0 kB (  0%)
 |name lookup                       :   0.25 (  4%)   0.14 (  8%)   0.25 (  3%)
   1643 kB (  1%)
 |overload resolution               :   0.56 ( 10%)   0.19 ( 11%)   0.78 ( 10%)
  25711 kB ( 16%)
 garbage collection                 :   0.15 (  3%)   0.01 (  1%)   0.18 (  2%)
      0 kB (  0%)
 dump files                         :   0.27 (  5%)   0.16 (  9%)   0.46 (  6%)
      0 kB (  0%)
 callgraph construction             :   0.16 (  3%)   0.05 (  3%)   0.20 (  3%)
   6708 kB (  4%)
 callgraph optimization             :   0.16 (  3%)   0.06 (  3%)   0.20 (  3%)
     64 kB (  0%)
 ipa function summary               :   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
      2 kB (  0%)
 ipa dead code removal              :   0.02 (  0%)   0.00 (  0%)   0.02 (  0%)
      0 kB (  0%)
 ipa inlining heuristics            :   0.01 (  0%)   0.00 (  0%)   0.03 (  0%)
      0 kB (  0%)
 ipa various optimizations          :   0.02 (  0%)   0.02 (  1%)   0.06 (  1%)
      0 kB (  0%)
 ipa free lang data                 :   0.01 (  0%)   0.00 (  0%)   0.03 (  0%)
      0 kB (  0%)
 ipa free inline summary            :   0.02 (  0%)   0.02 (  1%)   0.02 (  0%)
      0 kB (  0%)
 cfg construction                   :   0.04 (  1%)   0.00 (  0%)   0.03 (  0%)
      0 kB (  0%)
 cfg cleanup                        :   0.05 (  1%)   0.03 (  2%)   0.06 (  1%)
      0 kB (  0%)
 CFG verifier                       :   0.30 (  5%)   0.12 (  7%)   0.43 (  6%)
      0 kB (  0%)
 trivially dead code                :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
      0 kB (  0%)
 df scan insns                      :   0.12 (  2%)   0.00 (  0%)   0.07 (  1%)
     96 kB (  0%)
 df live regs                       :   0.06 (  1%)   0.00 (  0%)   0.03 (  0%)
      0 kB (  0%)
 df reg dead/unused notes           :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
    720 kB (  0%)
 register information               :   0.01 (  0%)   0.01 (  1%)   0.00 (  0%)
      0 kB (  0%)
 alias analysis                     :   0.01 (  0%)   0.00 (  0%)   0.03 (  0%)
    305 kB (  0%)
 rebuild jump labels                :   0.01 (  0%)   0.00 (  0%)   0.00 (  0%)
      0 kB (  0%)
 preprocessing                      :   0.17 (  3%)   0.10 (  6%)   0.26 (  3%)
   5570 kB (  3%)
 parser (global)                    :   0.18 (  3%)   0.06 (  3%)   0.27 (  4%)
   7357 kB (  4%)
 parser struct body                 :   0.11 (  2%)   0.02 (  1%)   0.13 (  2%)
   4924 kB (  3%)
 parser function body               :   0.01 (  0%)   0.01 (  1%)   0.02 (  0%)
    334 kB (  0%)
 parser inl. func. body             :   0.03 (  1%)   0.00 (  0%)   0.05 (  1%)
    823 kB (  0%)
 parser inl. meth. body             :   0.08 (  1%)   0.07 (  4%)   0.07 (  1%)
   2049 kB (  1%)
 template instantiation             :   0.99 ( 17%)   0.29 ( 16%)   1.23 ( 16%)
  42883 kB ( 26%)
 constant expression evaluation     :   0.03 (  1%)   0.00 (  0%)   0.09 (  1%)
     10 kB (  0%)
 early inlining heuristics          :   0.01 (  0%)   0.00 (  0%)   0.03 (  0%)
      0 kB (  0%)
 inline parameters                  :   0.03 (  1%)   0.01 (  1%)   0.04 (  1%)
   1987 kB (  1%)
 integration                        :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
      0 kB (  0%)
 tree gimplify                      :   0.06 (  1%)   0.00 (  0%)   0.02 (  0%)
   7173 kB (  4%)
 tree eh                            :   0.08 (  1%)   0.03 (  2%)   0.10 (  1%)
    609 kB (  0%)
 tree CFG construction              :   0.01 (  0%)   0.01 (  1%)   0.06 (  1%)
   2452 kB (  1%)
 tree CFG cleanup                   :   0.01 (  0%)   0.00 (  0%)   0.06 (  1%)
      0 kB (  0%)
 tree SSA rewrite                   :   0.00 (  0%)   0.00 (  0%)   0.02 (  0%)
   1153 kB (  1%)
 tree SSA other                     :   0.05 (  1%)   0.06 (  3%)   0.07 (  1%)
    288 kB (  0%)
 tree operand scan                  :   0.02 (  0%)   0.01 (  1%)   0.00 (  0%)
   2456 kB (  1%)
 tree SSA verifier                  :   0.16 (  3%)   0.06 (  3%)   0.29 (  4%)
      0 kB (  0%)
 tree STMT verifier                 :   0.38 (  7%)   0.05 (  3%)   0.32 (  4%)
      0 kB (  0%)
 tree switch lowering               :   0.01 (  0%)   0.02 (  1%)   0.03 (  0%)
      0 kB (  0%)
 callgraph verifier                 :   0.12 (  2%)   0.06 (  3%)   0.15 (  2%)
      0 kB (  0%)
 dominance computation              :   0.33 (  6%)   0.05 (  3%)   0.41 (  5%)
      0 kB (  0%)
 out of ssa                         :   0.01 (  0%)   0.00 (  0%)   0.06 (  1%)
    368 kB (  0%)
 expand vars                        :   0.02 (  0%)   0.00 (  0%)   0.00 (  0%)
    580 kB (  0%)
 expand                             :   0.07 (  1%)   0.00 (  0%)   0.12 (  2%)
   8729 kB (  5%)
 post expand cleanups               :   0.02 (  0%)   0.01 (  1%)   0.02 (  0%)
   1057 kB (  1%)
 jump                               :   0.01 (  0%)   0.01 (  1%)   0.01 (  0%)
      0 kB (  0%)
 loop init                          :   0.03 (  1%)   0.00 (  0%)   0.03 (  0%)
   1506 kB (  1%)
 loop fini                          :   0.02 (  0%)   0.00 (  0%)   0.00 (  0%)
      0 kB (  0%)
 integrated RA                      :   0.34 (  6%)   0.03 (  2%)   0.30 (  4%)
  51144 kB ( 31%)
 LRA non-specific                   :   0.09 (  2%)   0.00 (  0%)   0.12 (  2%)
    336 kB (  0%)
 LRA virtuals elimination           :   0.02 (  0%)   0.02 (  1%)   0.05 (  1%)
    240 kB (  0%)
 LRA reload inheritance             :   0.01 (  0%)   0.00 (  0%)   0.01 (  0%)
      0 kB (  0%)
 LRA create live ranges             :   0.04 (  1%)   0.00 (  0%)   0.04 (  1%)
     48 kB (  0%)
 reload                             :   0.04 (  1%)   0.02 (  1%)   0.02 (  0%)
      0 kB (  0%)
 thread pro- & epilogue             :   0.13 (  2%)   0.00 (  0%)   0.16 (  2%)
   3270 kB (  2%)
 machine dep reorg                  :   0.01 (  0%)   0.02 (  1%)   0.02 (  0%)
      0 kB (  0%)
 shorten branches                   :   0.02 (  0%)   0.01 (  1%)   0.02 (  0%)
      0 kB (  0%)
 reg stack                          :   0.00 (  0%)   0.00 (  0%)   0.01 (  0%)
      0 kB (  0%)
 final                              :   0.12 (  2%)   0.00 (  0%)   0.13 (  2%)
   3558 kB (  2%)
 symout                             :   0.01 (  0%)   0.00 (  0%)   0.04 (  1%)
     96 kB (  0%)
 early local passes                 :   0.00 (  0%)   0.01 (  1%)   0.01 (  0%)
      0 kB (  0%)
 rest of compilation                :   0.31 (  5%)   0.20 ( 11%)   0.58 (  8%)
   5001 kB (  3%)
 unaccounted post reload            :   0.01 (  0%)   0.00 (  0%)   0.02 (  0%)
      0 kB (  0%)
 unaccounted late compilation       :   0.00 (  0%)   0.01 (  1%)   0.01 (  0%)
      0 kB (  0%)
 verify RTL sharing                 :   0.15 (  3%)   0.03 (  2%)   0.21 (  3%)
      0 kB (  0%)
 repair loop structures             :   0.01 (  0%)   0.00 (  0%)   0.02 (  0%)
      0 kB (  0%)
 TOTAL                              :   5.82          1.77          7.63       
 165312 kB
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --enable-checking=release to disable checks.

real    0m7.905s
user    0m6.020s
sys     0m1.838s

Reply via email to