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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Even with checking this runs in a reasonable time:
```
[apinski@xeond2 upstream-gcc-new]$ ~/upstream-gcc/bin/gcc -ftime-report t4.cc
-S -O2

Time variable                                  wall           GGC
 phase setup                        :   0.01 (  0%)  2001k (  1%)
 phase parsing                      :   3.54 ( 89%)   335M ( 98%)
 phase lang. deferred               :   0.05 (  1%)  3603k (  1%)
 phase opt and generate             :   0.33 (  8%)  2877k (  1%)
 phase finalize                     :   0.03 (  1%)     0  (  0%)
 |name lookup                       :   0.04 (  1%)  1575k (  0%)
 |overload resolution               :   2.37 ( 60%)   115M ( 33%)
 garbage collection                 :   0.09 (  2%)     0  (  0%)
 callgraph construction             :   0.03 (  1%)   244k (  0%)
 callgraph functions expansion      :   0.10 (  2%)  1066k (  0%)
 callgraph ipa passes               :   0.10 (  3%)  1121k (  0%)
 ipa icf                            :   0.01 (  0%)     0  (  0%)
 CFG verifier                       :   0.01 (  0%)     0  (  0%)
 preprocessing                      :   0.10 (  3%)    19M (  6%)
 parser (global)                    :   0.07 (  2%)    37M ( 11%)
 parser struct body                 :   0.06 (  1%)  6667k (  2%)
 parser function body               :   2.84 ( 72%)   247M ( 72%)
 parser inl. func. body             :   0.02 (  1%)  1790k (  1%)
 parser inl. meth. body             :   0.04 (  1%)  4583k (  1%)
 template instantiation             :   0.27 (  7%)    16M (  5%)
 constant expression evaluation     :   0.08 (  2%)  6280k (  2%)
 tree gimplify                      :   0.04 (  1%)   269k (  0%)
 tree SSA verifier                  :   0.01 (  0%)     0  (  0%)
 tree STMT verifier                 :   0.02 (  1%)     0  (  0%)
 variable output                    :   0.07 (  2%)  3088  (  0%)
 initialize rtl                     :   0.01 (  0%)    12k (  0%)
 remove unused locals               :   0.05 (  1%)     0  (  0%)
 TOTAL                              :   3.96          344M
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --enable-checking=release to disable checks.

```

Reply via email to